source init functions

This commit is contained in:
Praveen Arimbrathodiyil 2015-12-15 14:59:01 +05:30
parent d0fba6adcc
commit b1a87d7d8f
2 changed files with 15 additions and 0 deletions

View file

@ -26,3 +26,4 @@ loosen-rails-version.patch
0106-loosen-gollum-lib.patch
0107-relax-omniauth-facebook.patch
0200-rails-4.2.patch
source-init-functions.patch

View file

@ -0,0 +1,14 @@
Index: gitlab/lib/support/init.d/gitlab
===================================================================
--- gitlab.orig/lib/support/init.d/gitlab
+++ gitlab/lib/support/init.d/gitlab
@@ -23,6 +23,9 @@
# An example defaults file can be found in lib/support/init.d/gitlab.default.example
###
+### source init functions
+. /lib/init/vars.sh
+. /lib/lsb/init-functions
### Environment variables
RAILS_ENV="production"