|
From: | Martin Pala |
Subject: | Re: Syntax Errors with Moinit 5.3.2 on Ubuntu 12.04 |
Date: | Mon, 24 Feb 2014 21:04:29 +0100 |
I'm not sure if it's copy&paste typo, but the size test is not allowed in the "check process" context: --8<-- check process tomcat7 with pidfile /var/run/tomcat7.pid if size = 0 then exec "/bin/rm /var/run/tomcat7.pid" <------------------------ error start program = "/etc/init.d/tomcat7 start" with timeout 60 seconds ... --8<-- The "check file" test is not necessary ... the pidfile based process check will automatically trigger restart if the pidfile is missing. Regards, Martin On 24 Feb 2014, at 20:55, Sanjay Veeramachaneni <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |