Re: daemontools feature request: user signals

"David Phillips" <[email protected]> Thu, 26 Dec 2002 22:50:16 -0600
Newsgroups gmane.org.djb.miscellaneous
Message-ID <001a01c2ad63$736bd710$0201a8c0@brinstar>
Peter van Dijk writes:
> On my system, 31 different signals exist. On other systems, this is
> different. My assumption is that DJB chose a safe subset.

USR1 and USR2 are commonly used by daemons and are meant to be delivered to
the daemon by the user.  Other signals are not.  Being that they are user
defined signals, having them handled by daemontools makes sense.

> 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.

Sure, but then I have to patch daemontools on every system I use it on.
That seriously takes away from the cross platform compatibility benefit.

--
David Phillips <[email protected]>
http://david.acz.org/