Skip to content

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

Merged
mperham merged 2 commits intosidekiq:masterfrom
gaffneyc:upstart-examples
Jan 30, 2013
Merged

Add an example config for Upstart on Ubuntu 12.04.#668
mperham merged 2 commits intosidekiq:masterfrom
gaffneyc:upstart-examples

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.

2 participants