]> git.pld-linux.org Git - projects/rc-scripts.git/commit
fix RC_LOGGING=no daemon --makepid --fork write proper pidfile
authorElan Ruusamäe <glen@delfi.ee>
Fri, 9 Sep 2016 21:22:34 +0000 (00:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 9 Sep 2016 21:22:51 +0000 (00:22 +0300)
commitb402dd3f91a54c34d9eaf99bee8e4a129286c749
tree2823209bc0d5bd4dc4229bd887cd44e6fc43c2ba
parent43f8f34fe255587b198ca25d23ed77ac9e042c8a
fix RC_LOGGING=no daemon --makepid --fork write proper pidfile

NOTE: setsid needs to be "outer" program
otherwise start-stop-daemon would capture the setsid pid not the actual program

as for RC_LOGGING=yes, this was already executed in this order:
setsid makepid program arguments
lib/functions
This page took 0.062003 seconds and 4 git commands to generate.