On Apr 12, 2012, at 11:44 AM, David Montgomery wrote:

>    start program = "/bin/sh /home/ubuntu/test.sh"

this should probably be 
 start program = "/home/ubuntu/test.sh"

>    then exec "sh /home/ubuntu/test.sh"

Again, you should remove the 'sh' prefix and just use: 
 then exec "/home/ubuntu/test.sh"

Take a look at the wiki http://mmonit.com/wiki/Monit/FAQ#execution There are 
pointers for using exec and debugging. 
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to