mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
changed location of pid file in upstart example to be in the app
directory, named sidekiq-n
This commit is contained in:
parent
5047f9220b
commit
cb3bb721ef
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ exec /bin/bash <<'EOT'
|
|||
# Logs out to /var/log/upstart/sidekiq.log by default
|
||||
|
||||
cd $app
|
||||
exec bundle exec sidekiq -i ${index} -e production -P tmp/pids/${app}-${index}.pid
|
||||
exec bundle exec sidekiq -i ${index} -e production -P ${app}/tmp/pids/sidekiq-${index}.pid
|
||||
EOT
|
||||
end script
|
||||
|
||||
|
@ -77,6 +77,6 @@ exec /bin/bash <<'EOT'
|
|||
# Logs out to /var/log/upstart/sidekiq.log by default
|
||||
|
||||
cd $app
|
||||
exec bundle exec sidekiqctl stop tmp/pids/${app}-${index}.pid 2> /dev/null
|
||||
exec bundle exec sidekiqctl stop ${app}/tmp/pids/sidekiq-${index}.pid 2> /dev/null
|
||||
EOT
|
||||
end script
|
||||
|
|
Loading…
Add table
Reference in a new issue