diff --git a/scripts/init.d/vlmcsd-debian b/scripts/init.d/vlmcsd-debian index 12cec60..7b2108f 100644 --- a/scripts/init.d/vlmcsd-debian +++ b/scripts/init.d/vlmcsd-debian @@ -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.' } diff --git a/scripts/init.d/vlmcsd-rhel b/scripts/init.d/vlmcsd-rhel index 648e6b2..b3e8ff6 100644 --- a/scripts/init.d/vlmcsd-rhel +++ b/scripts/init.d/vlmcsd-rhel @@ -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.' }