mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Dont need to spec config file, fix pidfile name
This commit is contained in:
parent
f42d2fafb4
commit
e2db9945c1
2 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ exec /bin/bash <<EOT
|
|||
logger -t sidekiq "Starting process: $app-$index"
|
||||
|
||||
cd $app
|
||||
exec bundle exec sidekiq -i ${index} -e production -C config/sidekiq.yml -P tmp/pids/${index}.pid
|
||||
exec bundle exec sidekiq -i ${index} -e production -P tmp/pids/${app}-${index}.pid
|
||||
EOT
|
||||
end script
|
||||
|
||||
|
@ -82,6 +82,6 @@ exec /bin/bash <<EOT
|
|||
logger -t sidekiq "Stopping process: $app-$index"
|
||||
|
||||
cd $app
|
||||
exec bundle exec sidekiqctl stop tmp/pids/${index}.pid
|
||||
exec bundle exec sidekiqctl stop tmp/pids/${app}-${index}.pid
|
||||
EOT
|
||||
end script
|
||||
|
|
|
@ -44,6 +44,6 @@ exec /bin/bash <<EOT
|
|||
source /etc/profile.d/rbenv.sh
|
||||
|
||||
cd /opt/theclymb/current
|
||||
exec bin/sidekiq -i ${index} -e production -C config/sidekiq.yml -P tmp/pids/sidekiq-${index}.pid
|
||||
exec bin/sidekiq -i ${index} -e production
|
||||
EOT
|
||||
end script
|
||||
|
|
Loading…
Reference in a new issue