Created
June 5, 2021 03:28
-
-
Save MakarovCode/2a8e1d4ee394cfa2fc818d7b65d52bc4 to your computer and use it in GitHub Desktop.
Sidekiq SystemCtl Daemon file
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=syslog.target network.target | |
[Service] | |
Type=simple | |
WorkingDirectory=/home/rails/project/current | |
ExecStart=/home/rails/.rbenv/shims/bundle exec sidekiq -e production -L /home/rails/project/current/log/sidekiq.log | |
User=rails | |
Group=rails | |
UMask=0002 | |
RestartSec=1 | |
Restart=on-failure | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=sidekiq | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment