Simplified conf sample.
This commit is contained in:
parent
0ac62b09b2
commit
0caf9643ef
|
@ -15,7 +15,7 @@ NAME=hebdobot
|
|||
BASE_DIR=/srv/$NAME
|
||||
PID_FILE=$BASE_DIR/$NAME.pid
|
||||
DAEMON=$(which java)
|
||||
DAEMON_ARGS="-jar hebdobot.jar -c hebdobot-test.conf"
|
||||
DAEMON_ARGS="-jar hebdobot.jar -c hebdobot.conf"
|
||||
|
||||
CMD="/sbin/start-stop-daemon --chdir $BASE_DIR --quiet --make-pidfile --pidfile $PID_FILE --exec $DAEMON"
|
||||
case "$1" in
|
||||
|
|
Loading…
Reference in New Issue
Block a user