monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't start service and log doesn't help


From: Rubén Dávila
Subject: Re: Can't start service and log doesn't help
Date: Wed, 22 Sep 2010 10:18:59 -0500

I've tried this options, but doesn't work:

start program = "/bin/su - root '/etc/init.d/unicorn start /etc/unicorn/app.com.conf'"

start program = "/bin/bash -c '/etc/init.d/unicorn start /etc/unicorn/app.com.conf > /tmp/unicorn.out 2>>&1'", here the log file is empty.

And finally, just to recalc that that "/etc/init.d/unicorn start /etc/unicorn/app.com.conf" starts the service fine and return 0 as exit code, I've checked this with: echo $?.

Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]