Auto disconnect

pull/44/head
pengxp 5 years ago
parent 0a189ec67c
commit 22d0551cfa

@ -24,7 +24,7 @@ start() {
return 1
fi
echo 'Starting service...'
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE"
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE -d"
su -c "$CMD" $RUNAS
echo 'Service started.'
}

@ -28,7 +28,7 @@ start() {
return 1
fi
echo 'Starting service...'
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE"
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE -d"
su -c "$CMD" $RUNAS
echo 'Service started.'
}

Loading…
Cancel
Save