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?


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

Reply via email to