Skip to content
Snippets Groups Projects
Commit 8cc97390 authored by sbbs's avatar sbbs
Browse files

Specify -d (daemonize) option, always (not required in sbbs.ini file).

parent 725ad421
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/bin
SBBSROOT=/sbbs
DAEMON=$SBBSROOT/exec/sbbs
OPTIONS=""
OPTIONS="-d"
export SBBSCTRL=$SBBSROOT/ctrl
export SHELL=/bin/bash
......@@ -31,7 +31,7 @@ case "$1" in
then
echo "[already running]"
else
start-stop-daemon --quiet --start --exec $DAEMON
start-stop-daemon --quiet --start --exec $DAEMON -- $OPTIONS
fi
;;
stop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment