Skip to content
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

Closed
djl197 opened this issue Oct 23, 2012 · 4 comments
Closed

Running flower as a daemon #28

djl197 opened this issue Oct 23, 2012 · 4 comments

Comments

@djl197
Copy link

djl197 commented Oct 23, 2012

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

@mher
Copy link
Owner

mher commented Oct 24, 2012

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.

@mher mher closed this as completed Nov 9, 2012
@speedplane
Copy link

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.

@rodrigogadea
Copy link

Here is a sample bash script that does not depend on upstart nor supervisord:
https://gist.github.com/rodrigogadea/8230898

@mher
Copy link
Owner

mher commented Jan 3, 2014

Thanks @rodrigogadea , can you add your script to flower/etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants