monit-general
[Top][All Lists]
Advanced

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

[monit] How to add a stop statement with parenthesis


From: John H
Subject: [monit] How to add a stop statement with parenthesis
Date: Wed, 13 Jan 2010 16:14:40 -0500

I need to stop a process by killing the process by viewing the pid
file process id.

/bin/kill -9 $(</var/run/lircd.pid)

When I view in the web interface all I see is

/bin/kill -9 $(

so I assume it's clipped the rest of the command

How do I do this? Guess I could write a bash script and call it if need be.

Also, I start some of my processes in another fashion so I'd like
monit to monitor the process but not start it on boot. Is this
possible?




reply via email to

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