-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running flower as a daemon #28
Comments
Flower is an ordinary Tornado application and can be daemonized with the standard tools. Checkout this post http://www.charleshooper.net/blog/python-starting-tornado-apps-at-boot-using-upstart/ for details. |
It would be nice if there was a sample init.d script. Even with the standard tools, there are many ways of getting it wrong. For example, the link above runs flower as root. |
Here is a sample bash script that does not depend on upstart nor supervisord: |
Thanks @rodrigogadea , can you add your script to flower/etc? |
I am trying to run flower as a Daemon on Ubuntu.
However it wont start withy celeryd and I have knocked up an /etc/init.d script but that does not work properly either.
I am very new to this - so suspect I am being stupid - but any hints on how to get this to run when a machine starts up and be able to start/stop it as a normal service would be appreciated.
Cheers
Dan
The text was updated successfully, but these errors were encountered: