Fixed init.d script.

This commit is contained in:
Christian P. MOMON 2018-01-07 03:49:36 +01:00
parent e953d0f0c4
commit 7c8ccc1052
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ NAME=hebdobot
BASE_DIR=/srv/$NAME
PID_FILE=$BASE_DIR/$NAME.pid
DAEMON=$(which java)
DAEMON_ARGS=""
DAEMON_ARGS="-jar hebdobot.jar -c hebdobot-test.conf"
CMD="/sbin/start-stop-daemon --chdir $BASE_DIR --quiet --make-pidfile --pidfile $PID_FILE --exec $DAEMON"
case "$1" in