Changed startup script to give config file.

This commit is contained in:
Winston Li 2014-12-05 23:54:42 +00:00
parent c39e93c152
commit 816966427e

View file

@ -22,7 +22,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Writelatex-Git Bridge startup and stop script" DESC="Writelatex-Git Bridge startup and stop script"
NAME=wlgb NAME=wlgb
DAEMON=/usr/bin/java DAEMON=/usr/bin/java
DAEMON_ARGS="-jar /usr/local/sbin/writelatex-git-bridge.jar 80 /root/git" DAEMON_ARGS="-jar /usr/local/sbin/writelatex-git-bridge.jar /etc/wlgb/config.json"
PIDFILE=/var/run/$NAME.pid PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME SCRIPTNAME=/etc/init.d/$NAME