fix variable assignment

This commit is contained in:
Praveen Arimbrathodiyil 2016-02-02 19:39:43 +05:30
parent 906a9bf66f
commit c9f1de6558

View file

@ -1,4 +1,4 @@
To fix lintian warning
To fix lintian warning and init script error
Index: gitlab/lib/support/init.d/gitlab
===================================================================
@ -14,3 +14,12 @@ Index: gitlab/lib/support/init.d/gitlab
### Environment variables
RAILS_ENV="production"
@@ -38,7 +41,7 @@ web_server_pid_path="$pid_path/unicorn.p
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=$app_root/../gitlab-workhorse
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"