Fixed init.d script.
This commit is contained in:
parent
e953d0f0c4
commit
7c8ccc1052
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue