mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
parent
cf63039bc3
commit
f29c770ef3
1 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,7 @@ stop on (stopping workers or runlevel [06])
|
|||
# change to match your deployment user
|
||||
setuid deploy
|
||||
setgid deploy
|
||||
env HOME=/home/deploy
|
||||
|
||||
respawn
|
||||
respawn limit 3 30
|
||||
|
@ -35,12 +36,11 @@ instance $index
|
|||
script
|
||||
# this script runs in /bin/sh by default
|
||||
# respawn as bash so we can source in rbenv
|
||||
exec /bin/bash <<EOT
|
||||
exec /bin/bash <<'EOT'
|
||||
# use syslog for logging
|
||||
exec &> /dev/kmsg
|
||||
|
||||
# pull in system rbenv
|
||||
export HOME=/home/deploy
|
||||
source /etc/profile.d/rbenv.sh
|
||||
|
||||
cd /opt/theclymb/current
|
||||
|
|
Loading…
Add table
Reference in a new issue