[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit] Trying to run ferret without success
From: |
Bill Kocik |
Subject: |
Re: [monit] Trying to run ferret without success |
Date: |
Sat, 11 Apr 2009 14:48:54 -0400 |
On Sat, Apr 11, 2009 at 2:45 PM, Bill Kocik <address@hidden> wrote:
> That's very similar to the first thing I tried. For some reason,
> trying to pass "-c" with a single quoted string to su or bash or
> anything else just doesn't work, and I really have no idea why
Sorry for the extra email. I meant to mention that this stuff works on
the command line, just not in monit. For example:
address@hidden /bin/su -c 'cd /var/www/tm/current/ &&
script/ferret_server -e production start' tm
starting ferret server...
address@hidden ps -ef | grep ferret
tm 1574 1 0 11:46 ? 00:00:00 ruby
script/ferret_server -e production start
I can't figure out what to put here that monit will understand.
--
Bill Kocik
http://bkocik.net