Code cleanup.

This commit is contained in:
Josh W 2024-07-12 23:01:43 -04:00
parent c9bae6a005
commit f84ea3fa3c

View file

@ -18,7 +18,14 @@ start() {
ebegin "Starting Tom Servo Bot"
cd $workdir || exit 1
start-stop-daemon --start --user "$user" --make-pidfile --pidfile "$pidfile" --chdir "$workdir" --exec "$script_exec" -- $script_args >> /var/log/tomservobot/bot.log 2>&1 &
start-stop-daemon --start \
--user "$user" \
--make-pidfile \
--pidfile "$pidfile" \
--chdir "$workdir" \
--exec "$script_exec" \
-- $script_args \
>> /var/log/tomservobot/bot.log 2>&1 &
eend $?
}