fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Help running a background Task: celery daemon


From: TamTam Research
Subject: Re: [Fab-user] Help running a background Task: celery daemon
Date: Tue, 12 Jun 2012 12:34:17 +0200

Hi Amit
regarding the command run...
anyway, the task is quite complex and requires some setup in advance anyway.
I would propose making it regular daemon, or at least manage start/stop script for it. For me, zdaemon works great in this regard.

Good luck

Jan Vlčinský
TamTam Research s.r.o.
Slunečnicová 338/3, 734 01 Karviná Ráj, Czech Republic
tel: +420-597 602 024; mob: +420-608 979 040
skype: janvlcinsky; GoogleTalk: address@hidden
http://cz.linkedin.com/in/vlcinsky



On 12 June 2012 06:55, 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.

Thanks in advance.

Best,
-Amit

--
http://echorand.me

_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user


reply via email to

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