1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00

remove no-close option from start-stop-daemon

This commit is contained in:
Darien Raymond 2015-12-14 09:34:25 +00:00
parent 543478a01e
commit 969336de9c

View File

@ -45,8 +45,7 @@ do_start()
# 3 if configuration file not ready for daemon
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background \
--no-close -m -- $DAEMON_OPTS \
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --background -m -- $DAEMON_OPTS \
|| return 2
# Add code here, if necessary, that waits for the process to be ready
# to handle requests from services started subsequently which depend