On 8/1/2010 9:03 AM, Malte Forkel wrote:
Hi,

The example init script init.d.lsb.ex provided by dh-make 0.46 contains
this call to start_daemon:

    start_daemon -p $PIDFILE $DAEMON -- $DAEMON_OPTS

This always passes "--" as first argument to my daemon. Wouldn't

    start_daemon -p $PIDFILE -- $DAEMON $DAEMON_OPTS

be the proper call?

I haven't found a reference to "--" in the LSB init function
documentation, but the implementation of start_daemon in
/lib/lsb/init-function (from lsb-base) handles "--" explicitly. The use
of "--" is documented in bash(1) though. Is this a convention? What
status has it?

Thanks,
Malte



According to the man page it should be:
start_daemon -p $PIDFILE $EXECUTABLE $EXECTUABLE_OPTS


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c55841c.6090...@envygeeks.com

Reply via email to