don't use --background in init scripts as the daemons daemonize themselves
This commit is contained in:
@@ -31,7 +31,7 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting $DESC: "
|
echo -n "Starting $DESC: "
|
||||||
start-stop-daemon --start --quiet --background \
|
start-stop-daemon --start --quiet \
|
||||||
--exec $DAEMON -- $OPTIONS
|
--exec $DAEMON -- $OPTIONS
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting $DESC: "
|
echo -n "Starting $DESC: "
|
||||||
start-stop-daemon --start --quiet --background \
|
start-stop-daemon --start --quiet \
|
||||||
--exec $DAEMON -- $OPTIONS
|
--exec $DAEMON -- $OPTIONS
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting $DESC: "
|
echo -n "Starting $DESC: "
|
||||||
start-stop-daemon --start --quiet --background \
|
start-stop-daemon --start --quiet \
|
||||||
--exec $DAEMON -- $OPTIONS
|
--exec $DAEMON -- $OPTIONS
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ set -e
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo -n "Starting $DESC: "
|
echo -n "Starting $DESC: "
|
||||||
start-stop-daemon --start --quiet --background \
|
start-stop-daemon --start --quiet \
|
||||||
--exec $DAEMON -- $OPTIONS
|
--exec $DAEMON -- $OPTIONS
|
||||||
echo "$NAME."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user