On 06.02.2012 19:25, John Baldwin wrote:
My expectation is that as long as parent process holds pidfile
descriptor open and locked, the pidfile should remain locked even after
fork(2)/execve(2). Worth checking, though.
Yes, if the daemon process hung around that would work. Note that I think
you would need to do a double-fork for that to work though since users
expect daemon to return instantly and not need to be put in the background.
It would be also nice to have an option for automatically respawn the
child. This option has GNU version of daemon. What do you think?
--
Andrey Zonov
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"