Commit 77a9b71e authored by ale's avatar ale

fix typo in init script

parent debe53cd
...@@ -32,7 +32,7 @@ fi ...@@ -32,7 +32,7 @@ fi
. /lib/lsb/init-functions . /lib/lsb/init-functions
do_start() { do_start() {
DAEMON_OPTS="--http-server=$ADDR --book-dir=$BOOK_DIR $DAEMON_OPTS" DAEMON_OPTS="$ADDR $BOOK_DIR $DAEMON_OPTS"
log_daemon_msg "Starting $DESC" "$NAME" log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --quiet --background \ start-stop-daemon --start --quiet --background \
...@@ -44,7 +44,7 @@ do_start() { ...@@ -44,7 +44,7 @@ do_start() {
do_stop() { do_stop() {
log_daemon_msg "Stopping $DESC" "$NAME" log_daemon_msg "Stopping $DESC" "$NAME"
start_stop_daemon --stop --quiet --oknodo \ start-stop-daemon --stop --quiet --oknodo \
--pidfile $PIDFILE --user $USER --pidfile $PIDFILE --user $USER
log_end_msg $? log_end_msg $?
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment