On Mon, May 2, 2011 at 11:31 AM, Marc - A. Dahlhaus <span dir="ltr"><<a href="mailto:mad@wol.de">mad@wol.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am 02.05.2011 19:58, schrieb Scott James Remnant:<br>
--8<--<br>
<div class="im">>     Talked about the topic with SpamapS on irc and he suggested that we<br>
>     choos another stanza for it as there is a bug open for sending another<br>
>     signal than HUP on reload...<br>
><br>
>     Maybe we better use "signal {stop,reload} SIGNAL" for it?!<br>
><br>
> I would prefer:<br>
><br>
>   kill signal HUP<br>
><br>
> since that goes better with timeout, etc. There should already be the<br>
> code to translate signal names (normal exit uses it)<br>
<br>
</div>Nice. For the messages that now mention "sending TERM signal", we need a<br>
intval to signalname translation, is there one in nih?<br>
<div class="im"><br></div></blockquote><div>Yup, in nih/signal.h - nih_signal_to_name</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
></div><div class="im">
>     Then we could also rename the system_kill function to system_signal_send<br>
>     and reuse it for the reloading also...<br>
<br>
</div>That renaming ok for you?<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div>system_send_signal () is less yoda ;-)</div><div><br></div><div>Scott</div></div><br>