]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r255521, r255526, r255707:
authortrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Oct 2013 18:48:43 +0000 (18:48 +0000)
committertrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 3 Oct 2013 18:48:43 +0000 (18:48 +0000)
commitd5e86b62a229b3bf4f38c4c0d1a9ca1eef47f3c5
tree57750dac3fbead54de6195cd1434bf5994b451f6
parent91673f9e68f40e1b1873dbd991c9d05bbf742e91
MFC r255521, r255526, r255707:

r255521 (jmg):

add support for writing the pid of the daemon program to a pid file so
that daemon can be used w/ rc.subr and ports can use the additional
functionality, such as keeping the ldap daemon up and running, and have
the proper program to signal to exit..

PR: bin/181341
Submitted by: feld

r255526 (joel):

mdoc: remove EOL whitespace.

r255707:

1. Properly clean pid files in the case of the error.
2. Write the supervisor pid before the restart loop, so we don't
   uselessly rewrite it after every child restart.
3. Remove duplicate ppfh and pfh initialization.

git-svn-id: svn://svn.freebsd.org/base/stable/9@256025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/daemon/daemon.8
usr.sbin/daemon/daemon.c