fix hard-coded path for workhorse

This commit is contained in:
Praveen Arimbrathodiyil 2015-12-17 20:19:00 +05:30
parent b571cb35b9
commit 77c535494f
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
Index: gitlab/lib/support/init.d/gitlab
===================================================================
--- gitlab.orig/lib/support/init.d/gitlab
+++ gitlab/lib/support/init.d/gitlab
@@ -237,7 +237,7 @@ start_gitlab() {
else
# No need to remove a socket, gitlab-workhorse does this itself
$app_root/bin/daemon_with_pidfile $gitlab_workhorse_pid_path \
- $app_root/../gitlab-workhorse/gitlab-workhorse \
+ gitlab-workhorse \
$gitlab_workhorse_options \
>> $gitlab_workhorse_log 2>&1 &
fi

View file

@ -27,3 +27,4 @@ loosen-rails-version.patch
0107-relax-omniauth-facebook.patch
0200-rails-4.2.patch
source-init-functions.patch
0300-no-hard-coded-workhorse-path.patch