monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [monit] Problem when monit restart services without a pid file


From: William Tisäter
Subject: RE: [monit] Problem when monit restart services without a pid file
Date: Tue, 27 Nov 2007 16:50:47 +0100

A little more detailed description:

 

Why I need to remove the pid is because I have a service running various checks on my services.

When a service control fails I want monit to fail too, so I remove the pid file and waits for monit

to restart the service.

 


From: address@hidden [mailto:address@hidden On Behalf Of William Tisäter
Sent: den 26 november 2007 11:06
To: address@hidden
Subject: [monit] Problem when monit restart services without a pid file

 

Hi!

 

I’m currently trying to setup monit to check a couple of bash scripts using the wrapper found in the FAQ.

My problem is that when the pid file is removed (or lost), the service will not be stopped even if it’s running.

This ends up with a duplicated running process.

 

Does anyone have a solution?

 

/ William


reply via email to

[Prev in Thread] Current Thread [Next in Thread]