monit-general
[Top][All Lists]
Advanced

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

Re: Quoting


From: Paul Galbraith
Subject: Re: Quoting
Date: Mon, 30 Aug 2004 10:37:46 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803

Paul Galbraith wrote:

I should mention, for posterity, that the proper approach is:

        stop program = "/bin/sh -c '/bin/kill `cat /var/run/tun0.pid`'"

Paul

Rory Toma wrote:

Paul Galbraith wrote:

I've got the following set to halt my ppp connection:

    stop program = "/bin/kill cat `/var/run/tun0.pid`"

...but it doesn't seem to work in 4.4beta3. Is the quoting a problem here, or is it something else?


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

I assume you mean:

"/bin/kill `cat /var/run/tun0.pid`"


I've successfully missed the obvious yet again...

Thanks for pointing it out.  Cheers,

Paul


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





reply via email to

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