Commit 8f51a74f3ae295d2ed16346e911c84b8ab750597
1 parent
ff994c7b
Exists in
master
and in
22 other branches
Handle multiple environments in stop_via_pid_file
(ActionItem2300)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script/production
| @@ -47,10 +47,10 @@ do_stop() { | @@ -47,10 +47,10 @@ do_stop() { | ||
| 47 | stop_via_pid_file tmp/pids/mongrel.*.pid | 47 | stop_via_pid_file tmp/pids/mongrel.*.pid |
| 48 | 48 | ||
| 49 | ./script/delayed_job stop || | 49 | ./script/delayed_job stop || |
| 50 | - stop_via_pid_file tmp/pids/delayed_job.pid | 50 | + stop_via_pid_file tmp/pids/delayed_job.pid tmp/pids/delayed_job.*.pid |
| 51 | 51 | ||
| 52 | ./script/feed-updater stop || | 52 | ./script/feed-updater stop || |
| 53 | - stop_via_pid_file tmp/pids/feed-updater.default.pid | 53 | + stop_via_pid_file tmp/pids/feed-updater.*.pid |
| 54 | 54 | ||
| 55 | ./script/ferret_server -e $RAILS_ENV stop || | 55 | ./script/ferret_server -e $RAILS_ENV stop || |
| 56 | stop_via_pid_file tmp/pids/ferret.production.pid | 56 | stop_via_pid_file tmp/pids/ferret.production.pid |