------- Additional Comments From uhlar@... 2004-05-20 09:21 -------
using signals is simple, avoids the need for mod_ctrls and in some cases can be
driven from command line too. Also, it is common practice:
SIGINT - Ctrl-C from keyboard, should stop the process
SIGQUIT - Ctrl-\ from keyboard, should forcely stop the process
SIGHUP - used in common by many daemons to do the reconfigure
- looking at this, SIGINT could be used to do soft stop (let children live),
SIGQUIT for hard stop (kill children), SIGHUP for reconfigure...
- apache uses SIGHUP for hard restart (killing children) and SIGUSR1 for soft
restart (children remain) - I think proftpd should follow this.
remaining SIGUSR2 could be used for gracefull shutdown (wait for children) - I
think you advised it in comment 2.
SIGTERM should be probably used for the same as SIGQUIT, as long as it is widely
used to tell processes to stop.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.