From 7c8ccc105215d6125ea883ac05fff65270c86f5b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 7 Jan 2018 03:49:36 +0100 Subject: [PATCH] Fixed init.d script. --- resources/conf/hebdobot.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/conf/hebdobot.initd b/resources/conf/hebdobot.initd index 512ee7d..ee957c6 100755 --- a/resources/conf/hebdobot.initd +++ b/resources/conf/hebdobot.initd @@ -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