[ https://issues.apache.org/jira/browse/DISPATCH-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391635#comment-16391635 ]
ASF GitHub Bot commented on DISPATCH-940: ----------------------------------------- GitHub user fgiorgetti opened a pull request: https://github.com/apache/qpid-dispatch/pull/266 DISPATCH-940 - Allow configuration file to be used from relative path… DISPATCH-940 - Allow configuration file to be used from relative path when running as a daemon. You can merge this pull request into a Git repository by running: $ git pull https://github.com/fgiorgetti/qpid-dispatch master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-dispatch/pull/266.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #266 ---- commit 710b6da05d8d8e2e4f0b8fbbed18c7947c4949e9 Author: Fernando Giorgetti <fgiorget@...> Date: 2018-03-08T17:51:52Z DISPATCH-940 - Allow configuration file to be used from relative path when running as a daemon ---- > When running qdrouterd with -c and -d combined, configuration file is > reporting as not found > -------------------------------------------------------------------------------------------- > > Key: DISPATCH-940 > URL: https://issues.apache.org/jira/browse/DISPATCH-940 > Project: Qpid Dispatch > Issue Type: Bug > Components: Router Node > Affects Versions: 1.1.0 > Reporter: Fernando Giorgetti > Priority: Minor > Labels: pull-request-available > Fix For: 1.1.0 > > > If you run qdrouterd as shown below, everything works just fine: > > {code:java} > [fgiorget@fgiorget qpid-dispatch]$ qdrouterd -c qdrouterd.conf > 2018-03-08 14:49:02.797039 -0300 SERVER (info) Container Name: Router.A > 2018-03-08 14:49:02.797142 -0300 ROUTER (info) Router started in Standalone > mode > {code} > But if you try to add -d (daemon) flag, then it does not find the > configuration file. > {code:java} > [fgiorget@fgiorget qpid-dispatch]$ qdrouterd -d -c qdrouterd.conf > qdrouterd: Not found: Configuration file could not be opened{code} > It only works with fully qualified file name. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org