Просмотр исходного кода

added optional zammad config in sysconfig

Roy Kaldung 12 лет назад
Родитель
Сommit
a4279815c6
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      script/init-script-normal-user-rvm-fedora

+ 5 - 0
script/init-script-normal-user-rvm-fedora

@@ -21,6 +21,11 @@ NAME=zammad
 APP_PORT=3000
 WS_PORT=6042
 
+ZAMMAD_CONFIG=/etc/sysconfig/zammad
+# Read config   
+[ -f "$JENKINS_CONFIG" ] && . "$JENKINS_CONFIG"
+
+
 # Load RVM into a shell session *as a function*
 if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
     # First try to load from a user install