1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Merge pull request #3113 from krisquigley/patch-1

Update sidekiq.service
This commit is contained in:
Mike Perham 2016-08-28 15:53:29 -07:00 committed by GitHub
commit 964adb0048

View file

@ -25,6 +25,9 @@ After=syslog.target network.target
[Service] [Service]
Type=simple Type=simple
WorkingDirectory=/opt/myapp/current WorkingDirectory=/opt/myapp/current
# If you use rbenv:
# ExecStart=/bin/bash -lc 'bundle exec sidekiq -e production'
# If you use the system's ruby:
ExecStart=/usr/local/bin/bundle exec sidekiq -e production ExecStart=/usr/local/bin/bundle exec sidekiq -e production
User=deploy User=deploy
Group=deploy Group=deploy