Skip to content

Commit 716c6c7

Browse files
committed
Fix writing to logfile (init script).
1 parent 8438579 commit 716c6c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/files/lora-packet-multiplexer.init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [ -r /etc/default/rcS ]; then
3737
fi
3838

3939
function do_start {
40-
start-stop-daemon --start --background --chuid "$DAEMON_USER:$DAEMON_GROUP" --make-pidfile --pidfile "$PID_FILE" --startas /bin/bash -- -c "exec $DAEMON > /var/log/$NAME/$NAME.log 2>&1"
40+
start-stop-daemon --start --background --chuid "$DAEMON_USER:$DAEMON_GROUP" --make-pidfile --pidfile "$PID_FILE" --startas /bin/bash -- -c "exec $DAEMON >> /var/log/$NAME/$NAME.log 2>&1"
4141
}
4242

4343
function do_stop {

0 commit comments

Comments
 (0)