diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/background_jobs | 2 | ||||
-rwxr-xr-x | bin/mail_room | 2 | ||||
-rwxr-xr-x | bin/web_unicorn | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/background_jobs b/bin/background_jobs index 866f5c39cd6..cbc501094c4 100755 --- a/bin/background_jobs +++ b/bin/background_jobs @@ -1,6 +1,6 @@ #!/usr/bin/env bash -cd $(dirname $0)/.. +cd $(dirname $0)/.. || exit 1 if [ -n "$SIDEKIQ_WORKERS" ] ; then exec bin/background_jobs_sk_cluster "$@" diff --git a/bin/mail_room b/bin/mail_room index be608be4229..cf9d422909e 100755 --- a/bin/mail_room +++ b/bin/mail_room @@ -1,6 +1,6 @@ #!/bin/sh -cd $(dirname $0)/.. +cd $(dirname $0)/.. || exit 1 app_root=$(pwd) mail_room_pidfile="$app_root/tmp/pids/mail_room.pid" diff --git a/bin/web_unicorn b/bin/web_unicorn index 41e2ac44351..5fa15a8324b 100755 --- a/bin/web_unicorn +++ b/bin/web_unicorn @@ -1,6 +1,6 @@ #!/bin/sh -cd $(dirname $0)/.. +cd $(dirname $0)/.. || exit 1 app_root=$(pwd) unicorn_pidfile="$app_root/tmp/pids/unicorn.pid" |