Hi Amit regarding the command run... - do you have permission to cd to working directory? - can you simply run "celeryd" from the directory you are in? - could you run celeryd manually? It could have some requirements (local configuraton with parameters to rabbitmq etc) which might be wrong or simply missing - I do not understand the use of &, specially the first case (but this is my problem, it could be ok)
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 <http://ridingpython.blogspot.cz/2011/08/turning-your-python-script-into-linux.html>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: jan.vlcin...@gmail.com http://cz.linkedin.com/in/vlcinsky On 12 June 2012 06:55, Amit Saha <amitks...@fedoraproject.org> 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 > Fab-user@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fab-user >
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org https://lists.nongnu.org/mailman/listinfo/fab-user