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

Restart sidekiq with systemctl in production #966

Merged
merged 2 commits into from
Apr 5, 2018
Merged

Conversation

bess
Copy link

@bess bess commented Apr 5, 2018

We need to ensure that sidekiq is always running in production.
That means we need to make it a managed system service, so
it will start running again if the system reboots or something
unexpected like a crash happens.

See https://thomasroest.com/2017/03/04/properly-setting-up-redis-and-sidekiq-in-production-ubuntu-16-04.html for more details

bess added 2 commits April 5, 2018 14:42
We need to ensure that sidekiq is always running in production.
That means we need to make it a managed system service, so
it will start running again if the system reboots or something
unexpected like a crash happens.
@coveralls
Copy link

coveralls commented Apr 5, 2018

Coverage Status

Coverage increased (+0.04%) to 84.359% when pulling ed616da on systemctl_sidekiq into c262d33 on master.

Copy link

@no-reply no-reply left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a great change.

@no-reply no-reply merged commit 2633b5b into master Apr 5, 2018
@no-reply no-reply deleted the systemctl_sidekiq branch April 5, 2018 20:39
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.

3 participants