1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Mike Perham 2014-10-19 15:03:36 -07:00
parent cf63039bc3
commit f29c770ef3

View file

@ -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