remove sudo from init script, since it is already running as root

This commit is contained in:
Jeff Ahrenholz 2019-10-31 13:11:09 -07:00
parent 19300c7564
commit 140fe3c7fe

View file

@ -35,7 +35,7 @@ corestart() {
echo "$NAME already started"
else
echo "starting $NAME"
sudo $CMD 2>&1 >> "$LOG" &
$CMD 2>&1 >> "$LOG" &
fi
echo $! > "$PIDFILE"