|
From: | Kieran P |
Subject: | Re: Disable checks based on file |
Date: | Tue, 23 Sep 2014 10:06:05 +1200 |
When I deploy code to production, I need to stop some tasks (like background workers). But monit naturally restarts them before the deploy is finished. So I need a way to disable starts/restarts when a file is present. Is this possible yet?e.g.check process delayed_job_0with pidfile /home/business/app/shared/pids/delayed_job.0.pidwhen file /home/business/app/tmp/deploying.txt not presentstart ...stop ...restart ...RegardsKieran
[Prev in Thread] | Current Thread | [Next in Thread] |