remove sudo from init script, since it is already running as root
This commit is contained in:
parent
19300c7564
commit
140fe3c7fe
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ corestart() {
|
||||||
echo "$NAME already started"
|
echo "$NAME already started"
|
||||||
else
|
else
|
||||||
echo "starting $NAME"
|
echo "starting $NAME"
|
||||||
sudo $CMD 2>&1 >> "$LOG" &
|
$CMD 2>&1 >> "$LOG" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $! > "$PIDFILE"
|
echo $! > "$PIDFILE"
|
||||||
|
|
Loading…
Add table
Reference in a new issue