mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Update sidekiq.service
Adds comment about how to use sidekiq with rbenv
This commit is contained in:
parent
de91d3afca
commit
2dcd386301
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ After=syslog.target network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
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
|
||||
User=deploy
|
||||
Group=deploy
|
||||
|
|
Loading…
Add table
Reference in a new issue