Re: daemontools feature request: user signals
Peter van Dijk <[email protected]> Thu, 26 Dec 2002 20:46:05 +0100
| Newsgroups | gmane.org.djb.miscellaneous |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 26, 2002 at 12:22:51AM -0600, David Phillips wrote: > I would like supervise and svc to handle USR1 and USR2. Is there a reason > that they are not currently handled? On my system, 31 different signals exist. On other systems, this is different. My assumption is that DJB chose a safe subset. A short glance at the code suggests that all you need to do is expand a switch-statement in supervise.c, and modify svc.c to accept the characters you're feeding it, and ofcourse update the help message. Greetz, Peter -- [email protected] | http://www.dataloss.nl/ | Undernet:#clue http://www.blinkenlights.nl/party/ - birthday party (page in Dutch) all geeks invited - send mail to [email protected] for more info