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
. /lib/lsb/init-functions
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"
start-stop-daemon --start --quiet --background \
......@@ -44,7 +44,7 @@ do_start() {
do_stop() {
log_daemon_msg "Stopping $DESC" "$NAME"
start_stop_daemon --stop --quiet --oknodo \
start-stop-daemon --stop --quiet --oknodo \
--pidfile $PIDFILE --user $USER
log_end_msg $?
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment