Update commands

The configuration file equivalent of command line options
-u = "mode": "tcp_and_udp"
-a nobody = "user": "nobody"

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-06-04 00:22:54 +09:00
parent 9f804f9152
commit ebfb4e5c76
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ do_start() {
echo "$NAME (pid $PID) is already running..."
return 0
fi
$DAEMON -a nobody -uv -c $CONF -f $PID_FILE
$DAEMON -v -c $CONF -f $PID_FILE
if check_running; then
echo "Starting $NAME success"
else

View File

@ -70,7 +70,7 @@ do_start() {
echo "$NAME (pid $PID) is already running..."
return 0
fi
$DAEMON -a nobody -uv -c $CONF -f $PID_FILE
$DAEMON -v -c $CONF -f $PID_FILE
if check_running; then
echo "Starting $NAME success"
else