Re: daemontools feature request: user signals
"Lester Vecsey" <[email protected]> Fri, 27 Dec 2002 19:07:59 -0500
| Newsgroups | gmane.org.djb.miscellaneous |
|---|---|
| Message-ID | <002901c2ae05$2ece59a0$2ee16c42@Portable> |
How about starting with the svstat source and snipping out much of its code so that you're left with just the portion that retrieves the current 'pid' of the specified service. Then through command line options you can have this new utility send a kill signal, either usr1, or usr2. So on systems you need the ability to send these signals to daemontools services you could just compile this small program to make that functionality available.