summaryrefslogtreecommitdiff
path: root/lib/support
diff options
context:
space:
mode:
authorHarald Spaethe <harald.spaethe@msu-solutions.de>2016-02-08 14:58:49 +0100
committerHarald Spaethe <harald.spaethe@msu-solutions.de>2016-02-08 14:58:49 +0100
commit2694513cfe174858aa257da3db24cb848b2ddb8e (patch)
tree9b490e23e7c6de8464823105ce23c191ca88de46 /lib/support
parent9fdd605fd2e4550170e5ef088bec7c6d2585c4a5 (diff)
downloadgitlab-ce-2694513cfe174858aa257da3db24cb848b2ddb8e.tar.gz
suppress only errors in init-script while determining canonical path of gitlab_workhorse_dir
Diffstat (limited to 'lib/support')
-rwxr-xr-xlib/support/init.d/gitlab2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab
index 9e90a99f15b..1981297ecd3 100755
--- a/lib/support/init.d/gitlab
+++ b/lib/support/init.d/gitlab
@@ -38,7 +38,7 @@ web_server_pid_path="$pid_path/unicorn.pid"
sidekiq_pid_path="$pid_path/sidekiq.pid"
mail_room_enabled=false
mail_room_pid_path="$pid_path/mail_room.pid"
-gitlab_workhorse_dir=$(cd $app_root/../gitlab-workhorse && pwd)
+gitlab_workhorse_dir=$(cd $app_root/../gitlab-workhorse 2> /dev/null && pwd)
gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"
gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket $rails_socket -documentRoot $app_root/public"
gitlab_workhorse_log="$app_root/log/gitlab-workhorse.log"