On Mon, May 2, 2011 at 9:17 AM, Marc - A. Dahlhaus <span dir="ltr"><<a href="mailto:mad@wol.de">mad@wol.de</a>></span> wrote:<br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hallo List,<br>
<br>
<br>
as slapd requires that it receives a SIGINT on user initiated stopping<br>
of service and will easily eat the directory-database for lunch if<br>
anything higher like SIGTERM or SIGKILL is used, there is currently no<br>
way to create a proper init conf for this daemon.<br>
<br>
To get around this situation i plan to add an "stopsignal SIGNAL" stanza<br>
to upstart. SIGNAL could be INT, USR1, USR2 or TERM(the default).<br>
I intentionally left out KILL here as it is used by upstart after the<br>
"kill timeout" exceeds.<br>
<br>
I'm in the middle of implementing the stanza and change the system_kill<br>
functions second param trom "bool force" to "int signal" and on signal<br>
== 0 sending SIGKILL to the process...<br>
<br>
I'll send the patches after i have tested that they work as expected...<br>
<br>
Marc<br>
<br></blockquote><div>Great! Looks forwards to that patch, make sure you get test coverage.</div><div><br></div><div>I'm going to be doing a 1.3 release soon, it'd be good to get it in there - how long do you think it will take?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OT:<br> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Do i have to get through any legal or copyright stuff before i can<br>
contribute to upstart?<br>
<font color="#888888"><br></font></blockquote><div>No.</div><div><br></div><div>Scott</div></div>