[packages/earlyoom] Rel 3; don't overwrite log file

arekm arekm at pld-linux.org
Tue Jan 16 13:03:18 CET 2024


commit 73cbccb79df8099c1748b70871e401509386fab2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jan 16 12:05:59 2024 +0100

    Rel 3; don't overwrite log file

 earlyoom.init | 2 +-
 earlyoom.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/earlyoom.spec b/earlyoom.spec
index fd12e9f..c8f3015 100644
--- a/earlyoom.spec
+++ b/earlyoom.spec
@@ -1,7 +1,7 @@
 Summary:	Early OOM Daemon for Linux
 Name:		earlyoom
 Version:	1.7
-Release:	2
+Release:	3
 License:	MIT
 URL:		https://github.com/rfjakob/earlyoom
 Source0:	https://github.com/rfjakob/earlyoom/archive/v%{version}/%{name}-%{version}.tar.gz
diff --git a/earlyoom.init b/earlyoom.init
index c1b29fd..64ff5d7 100644
--- a/earlyoom.init
+++ b/earlyoom.init
@@ -27,7 +27,7 @@ start() {
 	fi
 
 	msg_starting "earlyoom"
-	start-stop-daemon --start --quiet --background --pidfile /var/log/earlyoom --exec /bin/sh -- -c "exec /usr/bin/earlyoom $EARLYOOM_ARGS 2> \"/var/log/earlyoom.log\"" && ok || fail
+	start-stop-daemon --start --quiet --background --pidfile /var/log/earlyoom --exec /bin/sh -- -c "exec /usr/bin/earlyoom $EARLYOOM_ARGS 2>> \"/var/log/earlyoom.log\"" && ok || fail
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/earlyoom
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/earlyoom.git/commitdiff/73cbccb79df8099c1748b70871e401509386fab2



More information about the pld-cvs-commit mailing list