On 26. mai. 2009, at 00.20, Alex Soto wrote:

start program = "/bin/mkdir -p /data/db ; /bin/sleep 5 ; /bin/ mount /data/db"

The start program is not run in a shell, but by exec. To write the start program as a shell script you need to invoke a shell like so:

start program = "/bin/bash -c '/bin/mkdir -p /data/db ; /bin/ mount /data/db'"



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

Reply via email to