[packages/syslog-ng] Rel 6; let it automatically choose worker-threads based on nr of cpus

arekm arekm at pld-linux.org
Fri Mar 22 16:40:08 CET 2024


commit fd8cb100b70b07cdbf9f58d0db1b6ddb07d270d0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 22 16:02:53 2024 +0100

    Rel 6; let it automatically choose worker-threads based on nr of cpus

 syslog-ng-systemd.patch | 2 +-
 syslog-ng.init          | 2 +-
 syslog-ng.spec          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/syslog-ng.spec b/syslog-ng.spec
index e64254b..055a054 100644
--- a/syslog-ng.spec
+++ b/syslog-ng.spec
@@ -39,7 +39,7 @@ Summary(pl.UTF-8):	Syslog-ng - systemowy demon logujący nowej generacji
 Summary(pt_BR.UTF-8):	Daemon de log nova geração
 Name:		syslog-ng
 Version:	3.36.1
-Release:	5
+Release:	6
 License:	GPL v2+ with OpenSSL exception
 Group:		Daemons
 #Source0Download: https://github.com/syslog-ng/syslog-ng/releases
diff --git a/syslog-ng-systemd.patch b/syslog-ng-systemd.patch
index 69f763d..9250285 100644
--- a/syslog-ng-systemd.patch
+++ b/syslog-ng-systemd.patch
@@ -12,7 +12,7 @@ diff -dur -x '*~' syslog-ng-syslog-ng-3.14.1.orig/contrib/systemd/syslog-ng at .ser
  EnvironmentFile=-/etc/default/syslog-ng@%i
  EnvironmentFile=-/etc/sysconfig/syslog-ng@%i
 -ExecStart=/usr/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE
-+ExecStart=/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE --worker-threads=1024 $SYSLOGNG_OPTS
++ExecStart=/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE $SYSLOGNG_OPTS
  ExecReload=/bin/kill -HUP $MAINPID
  StandardOutput=journal
  StandardError=journal
diff --git a/syslog-ng.init b/syslog-ng.init
index 073a96f..5d03b6b 100755
--- a/syslog-ng.init
+++ b/syslog-ng.init
@@ -60,7 +60,7 @@ start() {
 	fi
 
 	msg_starting "syslog-ng"
-	daemon @@SBINDIR@@/syslog-ng -f /etc/syslog-ng/syslog-ng.conf --worker-threads=1024 $OPTIONS
+	daemon @@SBINDIR@@/syslog-ng -f /etc/syslog-ng/syslog-ng.conf $OPTIONS
 	RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/syslog-ng
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/syslog-ng.git/commitdiff/fd8cb100b70b07cdbf9f58d0db1b6ddb07d270d0



More information about the pld-cvs-commit mailing list