mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Updated sidekiq configuration with rvm and gemset (#4705)
* Updated sidekiq configuration with rvm and gemset * Updated environment with execution
This commit is contained in:
parent
1065454c71
commit
d081a8a66a
1 changed files with 5 additions and 2 deletions
|
@ -44,8 +44,11 @@ WorkingDirectory=/opt/myapp/current
|
|||
# If you use rbenv:
|
||||
# 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
|
||||
# If you use rvm in production, don't.
|
||||
# ExecStart=/usr/local/bin/bundle exec sidekiq -e production
|
||||
# If you use rvm in production without gemset and your ruby version is 2.6.5
|
||||
# ExecStart=/home/deploy/.rvm/gems/ruby-2.6.5/wrappers/bundle exec sidekiq -e production
|
||||
# If you use rvm in production wit gemset and your ruby version is 2.6.5
|
||||
ExecStart=/home/deploy/.rvm/gems/ruby-2.6.5@gemset-name/wrappers/bundle exec sidekiq -e production
|
||||
|
||||
# Use `systemctl kill -s TSTP sidekiq` to quiet the Sidekiq process
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue