On Tue, Jun 12, 2012 at 6:55 AM, Amit Saha
<address@hidden> wrote:
Hello:
I want to run 'celeryd' (celery daemon) as a background process on a
remote machine. I have tried to follow the FAQ and also the issue
tracker comments [1] and tried this using:
run('cd {0:s};nohup sudo celeryd --loglevel=INFO --logfile={1:s} >&
"/dev/null" < "/dev/null" &'.format(worker_workdir,log),pty=False)
Is this correct? It doesn't seem to be working.
-----
from fabtools import require
def setup:
# ...
require.supervisor.process('celery',
command='/path/to/celeryd --loglevel=INFO --logfile={0:s}'.format(log),
directory=worker_workdir,
user='myuser'
)
--