mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-13 14:44:22 -04:00
Auto disconnect
This commit is contained in:
parent
0a189ec67c
commit
22d0551cfa
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ start() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo 'Starting service...'
|
echo 'Starting service...'
|
||||||
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE"
|
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE -d"
|
||||||
su -c "$CMD" $RUNAS
|
su -c "$CMD" $RUNAS
|
||||||
echo 'Service started.'
|
echo 'Service started.'
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ start() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo 'Starting service...'
|
echo 'Starting service...'
|
||||||
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE"
|
local CMD="$SCRIPT -p $PIDFILE -l $LOGFILE -d"
|
||||||
su -c "$CMD" $RUNAS
|
su -c "$CMD" $RUNAS
|
||||||
echo 'Service started.'
|
echo 'Service started.'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue