From 8f51a74f3ae295d2ed16346e911c84b8ab750597 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 5 Mar 2012 11:36:14 -0300 Subject: [PATCH] Handle multiple environments in stop_via_pid_file --- script/production | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/production b/script/production index d58c336..2e7b235 100755 --- a/script/production +++ b/script/production @@ -47,10 +47,10 @@ do_stop() { stop_via_pid_file tmp/pids/mongrel.*.pid ./script/delayed_job stop || - stop_via_pid_file tmp/pids/delayed_job.pid + stop_via_pid_file tmp/pids/delayed_job.pid tmp/pids/delayed_job.*.pid ./script/feed-updater stop || - stop_via_pid_file tmp/pids/feed-updater.default.pid + stop_via_pid_file tmp/pids/feed-updater.*.pid ./script/ferret_server -e $RAILS_ENV stop || stop_via_pid_file tmp/pids/ferret.production.pid -- libgit2 0.21.2