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"
|
||||
else
|
||||
echo "starting $NAME"
|
||||
sudo $CMD 2>&1 >> "$LOG" &
|
||||
$CMD 2>&1 >> "$LOG" &
|
||||
fi
|
||||
|
||||
echo $! > "$PIDFILE"
|
||||
|
|
Loading…
Reference in a new issue