package/netopeer2: fix sysv init script, does not start
- The netopeer server forks to background by default, no need for '-b' - The path to the daemon is /usr/sbin, not /usr/bin Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Acked-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
b89eff429d
commit
6ddc29708d
@ -8,7 +8,7 @@ NETOPEER2_SERVER_ARGS=""
|
|||||||
start() {
|
start() {
|
||||||
printf 'Starting %s: ' "$DAEMON"
|
printf 'Starting %s: ' "$DAEMON"
|
||||||
|
|
||||||
start-stop-daemon -S -b -q -p $PIDFILE -x "/usr/bin/$DAEMON" \
|
start-stop-daemon -S -q -p $PIDFILE -x "/usr/sbin/$DAEMON" \
|
||||||
-- $NETOPEER2_SERVER_ARGS
|
-- $NETOPEER2_SERVER_ARGS
|
||||||
status=$?
|
status=$?
|
||||||
if [ "$status" -eq 0 ]; then
|
if [ "$status" -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user