packages: syslog-ng/syslog-ng.init, syslog-ng/syslog-ng.spec - fix flush-lo...
glen
glen at pld-linux.org
Sat Mar 31 11:22:58 CEST 2012
Author: glen Date: Sat Mar 31 09:22:58 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- fix flush-logs in systemd mode, we need generic way doing this instead of each service
---- Files affected:
packages/syslog-ng:
syslog-ng.init (1.39 -> 1.40) , syslog-ng.spec (1.245 -> 1.246)
---- Diffs:
================================================================
Index: packages/syslog-ng/syslog-ng.init
diff -u packages/syslog-ng/syslog-ng.init:1.39 packages/syslog-ng/syslog-ng.init:1.40
--- packages/syslog-ng/syslog-ng.init:1.39 Wed Dec 7 02:36:37 2011
+++ packages/syslog-ng/syslog-ng.init Sat Mar 31 11:22:53 2012
@@ -108,7 +108,7 @@
flush_logs() {
if use_upstart && [ -f /etc/init/syslog-ng.conf ]; then
/sbin/initctl reload syslog-ng
- elif [ -f /var/lock/subsys/syslog-ng ]; then
+ elif [ -f /var/lock/subsys/syslog-ng ] || service syslog-ng status >/dev/null; then
checkconfig
msg_reloading "syslog-ng"
killproc syslog-ng -HUP
================================================================
Index: packages/syslog-ng/syslog-ng.spec
diff -u packages/syslog-ng/syslog-ng.spec:1.245 packages/syslog-ng/syslog-ng.spec:1.246
--- packages/syslog-ng/syslog-ng.spec:1.245 Wed Mar 28 09:26:56 2012
+++ packages/syslog-ng/syslog-ng.spec Sat Mar 31 11:22:53 2012
@@ -26,7 +26,7 @@
Summary(pt_BR.UTF-8): Daemon de log nova geração
Name: syslog-ng
Version: 3.3.4
-Release: 7
+Release: 8
License: GPL v2+ with OpenSSL exception
Group: Daemons
Source0: http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/%{version}/source/%{name}_%{version}.tar.gz
@@ -492,6 +492,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.246 2012/03/31 09:22:53 glen
+- fix flush-logs in systemd mode, we need generic way doing this instead of each service
+
Revision 1.245 2012/03/28 07:26:56 arekm
- release 7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/syslog-ng/syslog-ng.init?r1=1.39&r2=1.40
http://cvs.pld-linux.org/packages/syslog-ng/syslog-ng.spec?r1=1.245&r2=1.246
More information about the pld-cvs-commit
mailing list