[RFC] stopsignal stanza
Marc - A. Dahlhaus
mad at wol.de
Mon May 2 18:37:41 UTC 2011
Am 02.05.2011 20:33, schrieb Scott James Remnant:
> On Mon, May 2, 2011 at 11:31 AM, Marc - A. Dahlhaus <mad at wol.de
> <mailto:mad at wol.de>> wrote:
>
> Am 02.05.2011 19:58, schrieb Scott James Remnant:
> --8<--
> > Talked about the topic with SpamapS on irc and he suggested
> that we
> > choos another stanza for it as there is a bug open for sending
> another
> > signal than HUP on reload...
> >
> > Maybe we better use "signal {stop,reload} SIGNAL" for it?!
> >
> > I would prefer:
> >
> > kill signal HUP
> >
> > since that goes better with timeout, etc. There should already be the
> > code to translate signal names (normal exit uses it)
>
> Nice. For the messages that now mention "sending TERM signal", we need a
> intval to signalname translation, is there one in nih?
>
> Yup, in nih/signal.h - nih_signal_to_name
Nice...
> >
> > Then we could also rename the system_kill function to
> system_signal_send
> > and reuse it for the reloading also...
>
> That renaming ok for you?
>
> system_send_signal () is less yoda ;-)
Looks like more of the force is needed to get such things into the code...
> Scott
More information about the upstart-devel
mailing list