mirror of
https://github.com/ivuorinen/sysvinit-service-generator.git
synced 2026-02-20 15:54:11 +00:00
fix(lint): editorconfig
This commit is contained in:
@@ -36,8 +36,8 @@ start() {
|
|||||||
echo 'Starting service...' >&2
|
echo 'Starting service...' >&2
|
||||||
local CMD="$SCRIPT &> \\"$LOGFILE\\" & echo \\$!"
|
local CMD="$SCRIPT &> \\"$LOGFILE\\" & echo \\$!"
|
||||||
su -c "$CMD" $RUNAS > "$PIDFILE"
|
su -c "$CMD" $RUNAS > "$PIDFILE"
|
||||||
# Try with this command instead if above does not work
|
# Try with this command instead if above does not work
|
||||||
# su -s /bin/sh $RUNAS -c "$CMD" > "$PIDFILE"
|
# su -s /bin/sh $RUNAS -c "$CMD" > "$PIDFILE"
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
PID=$(cat $PIDFILE)
|
PID=$(cat $PIDFILE)
|
||||||
|
|||||||
Reference in New Issue
Block a user