Skip to content

Commit

Permalink
changed location of pid file in upstart example to be in the app
Browse files Browse the repository at this point in the history
directory, named sidekiq-n
  • Loading branch information
David Moulton committed Dec 5, 2014
1 parent 5047f92 commit cb3bb72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/upstart/manage-many/sidekiq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

0 comments on commit cb3bb72

Please sign in to comment.