source init functions
This commit is contained in:
parent
d0fba6adcc
commit
b1a87d7d8f
2 changed files with 15 additions and 0 deletions
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -26,3 +26,4 @@ loosen-rails-version.patch
|
||||||
0106-loosen-gollum-lib.patch
|
0106-loosen-gollum-lib.patch
|
||||||
0107-relax-omniauth-facebook.patch
|
0107-relax-omniauth-facebook.patch
|
||||||
0200-rails-4.2.patch
|
0200-rails-4.2.patch
|
||||||
|
source-init-functions.patch
|
||||||
|
|
14
debian/patches/source-init-functions.patch
vendored
Normal file
14
debian/patches/source-init-functions.patch
vendored
Normal 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"
|
Loading…
Reference in a new issue