-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tags 475932 pending
quit

Daniel Dickinson wrote:
> What do you think about switching the to having gkrellmd to being the
> creator of the pidfile and elimiting -m -b --pidfile from
> start-stop-daemon.  gkrellmd has it's own --pidfile option, so if you
> do the following:
> 
> from my working /etc/init.d/gkrellmd
> 
>   start)
>       echo -n "Starting $DESC: "
>       start-stop-daemon --start --quiet \
>               --exec $DAEMON -- --pidfile /var/run/$NAME.pid
> $DAEMON_OPTS echo "$NAME."
>       ;;
>   stop)
>       echo -n "Stopping $DESC: "
>       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid 
>       echo "$NAME."
>       ;;
> 
> You will have a working initscript that eliminates -m -b, because of the
> fact that -m -b is considered a last resort (e.g. only for programs
> that don't daemonize on their own), as I pointed out in my last email
> with the quote from the start-stop-daemon manpage.

You're right, this is already done in version -4 (see [1]) and is in my
pending to upload list to be sent to my sponsor, thanks :)

Regards.

[1]
http://git.ghostbar.ath.cx/?p=debian/gkrellm.git;a=blob;f=debian/gkrellmd.init;h=582862be71a15be800a8cb0a9c6f5f6e67c78358;hb=2b88609bb623e88475d1bef20a783a720fdad07e
- --
Jose Luis Rivas. San Cristóbal, Venezuela. PGP: 0xCACAB118
http://ghostbar.ath.cx/{about,acerca} - http://debian.org.ve
`ghostbar' @ irc.debian.org/#debian-ve,#debian-devel-es
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIPOjQOKCtW8rKsRgRAkAnAJ9WD9EQtsZgsgDSHJONkCkDowIB2QCfStIg
iqG1RD8Iq9jNPg2CZQ89ByM=
=V44S
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to