mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add exec to ensure MAINPID is Sidekiq, fixes #4401
This commit is contained in:
parent
25ceba9fb4
commit
8c4a052141
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ After=syslog.target network.target
|
|||
Type=simple
|
||||
WorkingDirectory=/opt/myapp/current
|
||||
# If you use rbenv:
|
||||
# ExecStart=/bin/bash -lc '/home/deploy/.rbenv/shims/bundle exec sidekiq -e production'
|
||||
# ExecStart=/bin/bash -lc 'exec /home/deploy/.rbenv/shims/bundle exec sidekiq -e production'
|
||||
# If you use the system's ruby:
|
||||
ExecStart=/usr/local/bin/bundle exec sidekiq -e production
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue