Skip to content

Commit 3eaa0d2

Browse files
committed
earlyoom.initscript.in: Append to log, don't overwrite
Link: https://bugs.debian.org/1113848
1 parent 202d4db commit 3eaa0d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

earlyoom.initscript.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ do_start()
4949
# 2 if daemon could not be started
5050
start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec /bin/bash --test > /dev/null \
5151
|| return 1
52-
start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec /bin/bash -- -c "exec $DAEMON $EARLYOOM_ARGS 2> \"$LOGFILE\"" \
52+
start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec /bin/bash -- -c "exec $DAEMON $EARLYOOM_ARGS 2>> \"$LOGFILE\"" \
5353
|| return 2
5454
# Add code here, if necessary, that waits for the process to be ready
5555
# to handle requests from services started subsequently which depend

0 commit comments

Comments
 (0)