monit-general
[Top][All Lists]
Advanced

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

Re: Is there a "real restart" command (not stop then start) ?


From: Noel
Subject: Re: Is there a "real restart" command (not stop then start) ?
Date: Wed, 16 Jan 2013 11:52:24 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
On 1/16/2013 11:35 AM, Bernd Wurst wrote:
> Am 16.01.2013 16:22, schrieb Noel:
>> If "restart program" is defined, use it; otherwise use
>> the current stop then start.
>
> You can fake this:
>
> stop program = "/bin/true"
> start program = "/whatever/foobar reload"

That works when a service restart is triggered, but unsatisfying if
you really want to stop a service.  Not a  very effective workaround.




  -- Noel Jones
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
iQEcBAEBAgAGBQJQ9ujYAAoJEHIluGOd3V4FGzAH/2cQxb+N2eQiV70GVQ1sFUOC
uHQIkwB6Jadi0QBVv9FcnAqaCTrmh/gCvM9GuxJTBDjF/xibDQm1HbTGdsVtAX7t
4oEqMLIbmEN+vm4Az5LMp+HAioX6XJ4RdOAYIks7z0QuiyrnN5l/6+qx0K/dG2XI
PwHATlCojApcnk4y3UuvepM+sYI95pqXMqZnvigYtPG7IOJRPDBoUTyceIRFueZM
fXAwyahRqLLnCJXF+t9+E1eJdKdFpt9nw2oo8Dmg/Eozea1HA5zkwKUDOD1M3897
p1ItDCndtwZGKLJwPNx04rraaBD4jAXpXIv4ATeqNq2k/FPtt2BYc0xYIL4vub8=
=Zk6p
-----END PGP SIGNATURE-----




reply via email to

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