fix hard-coded path for workhorse
This commit is contained in:
parent
b571cb35b9
commit
77c535494f
2 changed files with 14 additions and 0 deletions
13
debian/patches/0300-no-hard-coded-workhorse-path.patch
vendored
Normal file
13
debian/patches/0300-no-hard-coded-workhorse-path.patch
vendored
Normal 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
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue