William Tisäter wrote:

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

How about "echo 12345 > /path/to/pidfile" instead of "rm -f /path/to/pidfile"? Although I still don't quite understand your setup.

Regards,

--
Aleksander Kamenik
system administrator
+372 6659 649
[EMAIL PROTECTED]

Krediidiinfo AS
http://www.krediidiinfo.ee/


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to