freebsd-skq/usr.sbin/daemon
Mikolaj Golub 195fc497a2 If the supervising process receives SIGTERM, forward it to the spawned
process.  Normally it will cause the child to exit followed by the
termination of the supervisor after removing the pidfile.

This looks like desirable behavior, because termination of a
supervisor usually supposes termination of its charge. Also it will
fix the issue with stale pid files after reboot due to init kills a
supervisor before its child exits.

MFC after:	2 weeks
2012-02-19 10:23:51 +00:00
..
daemon.8 If the supervising process receives SIGTERM, forward it to the spawned 2012-02-19 10:23:51 +00:00
daemon.c If the supervising process receives SIGTERM, forward it to the spawned 2012-02-19 10:23:51 +00:00
Makefile The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00