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

Add an example config for Upstart on Ubuntu 12.04. #668

Merged
merged 2 commits into from
Jan 30, 2013

Conversation

gaffneyc
Copy link
Contributor

We use Ubuntu for all over our deployments and we use upstart for managing all of our custom jobs / services. This example should be enough to get an upstart task written for running sidekiq for an app.

@mperham
Copy link
Collaborator

mperham commented Jan 30, 2013

Wow, that's nice and simple. Does upstart handle any logging for you?

@mperham
Copy link
Collaborator

mperham commented Jan 30, 2013

It needs a comment to explain how to activate it, i.e. "put the file here, run this command, then you can do x and y to start and stop sidekiq"

@gaffneyc
Copy link
Contributor Author

No, it doesn't support logging so I'll add -L or pipe to logger. It is possible to redirect stdout / stderr to syslog in a script block (http://upstart.ubuntu.com/cookbook/#log-script-section-output-to-syslog).

I'll add some more documentation about starting / stopping sidekiq and update the pull request.

mperham added a commit that referenced this pull request Jan 30, 2013
Add an example config for Upstart on Ubuntu 12.04.
@mperham mperham merged commit 7acc668 into sidekiq:master Jan 30, 2013
@gaffneyc gaffneyc deleted the upstart-examples branch January 30, 2013 23:26
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

Successfully merging this pull request may close these issues.

None yet

2 participants