Hi Marc,
On 1/24/07, Marc Haber <[EMAIL PROTECTED]> wrote:
On Wed, Jan 24, 2007 at 12:47:40PM +0200, Teodor wrote:
> In the main script /etc/init.d/nagios2 we have these lines:
> ...
> In most cases the 'stop' action is working only with the SIG_TERM (15)
> send to the running process, but it would be good to retry stopping the
> service in the case the first attempt failed.
>
> It seems to me that the code is commented by mistake, otherwise it would
> be deleted from the main script.
I suspect that I copied that code from some other packages and then
left it commented out just in case that nagios needs this more
elaborate handling as well.
Do you consider that 'nagios' doesn't need stop action retrying after
the first attempt?
fwiw, I did not find any revision of the init script in svn that had
this code present _and_ enabled. I am now tempted to treat this as a
non-bug and close it.
What exactly do you suggest doing?
I suggest to do one of the following:
1. if this code is not necessary it should be removed from the script;
2. if the first attempt to stop nagios fails many times it should be
included in the script.
Thanks for your quick response.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]