fix hardcoded path

This commit is contained in:
Praveen Arimbrathodiyil 2015-12-17 16:44:50 +05:30
parent 2ec80cff3a
commit e13004a1e8
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
@@ -32,8 +32,6 @@ RAILS_ENV="production"
# Script variable names should be lower-case not to conflict with
# internal /bin/sh variables such as PATH, EDITOR or SHELL.
-app_user="git"
-app_root="/home/$app_user/gitlab"
pid_path="$app_root/tmp/pids"
socket_path="$app_root/tmp/sockets"
web_server_pid_path="$pid_path/unicorn.pid"

View file

@ -27,3 +27,4 @@ loosen-rails-version.patch
0107-relax-omniauth-facebook.patch
0200-rails-4.2.patch
source-init-functions.patch
remove-hardcoded-paths.patch