On 15. feb. 2007, at 15.47, <[EMAIL PROTECTED]> wrote:
I tried having start program execute 2 command by separating the
cmds with &&
When I do this neither cmd is executed - though there are no
errors. Is there a way to do this other than calling an external
script that executes both?
You cannot use shell scripting in the start and stop command. If more
than one string is given in a start or stop command, the first string
is taken as the program to execute and the rest as arguments to the
program. However you can start a shell to do what you want
start = "/bin/bash -c 'command1 && command2'"
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general