Skip to content
Snippets Groups Projects
Commit fe60dfbc authored by ale's avatar ale
Browse files

fix typo in init script

parent b0cddccb
Branches
Tags
No related merge requests found
...@@ -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 $?
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment