Created
March 7, 2017 10:18
-
-
Save hackedunit/79b9c52b3a0cb6e0f7b41db907330c92 to your computer and use it in GitHub Desktop.
Sidekiq systemd config for cloudnet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Sidekiq | |
After=network.target | |
[Service] | |
User=cloudnet | |
Group=cloudnet | |
WorkingDirectory=/home/cloudnet/app | |
EnvironmentFile=/home/cloudnet/app/.env.production | |
ExecStart=/bin/bash -lc 'bundle exec sidekiq -C config/sidekiq.yml' | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment