SPECS: syslog-ng.spec - restart after trigger

arekm arekm at pld-linux.org
Tue Jan 20 18:19:16 CET 2009


Author: arekm                        Date: Tue Jan 20 17:19:16 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- restart after trigger

---- Files affected:
SPECS:
   syslog-ng.spec (1.159 -> 1.160) 

---- Diffs:

================================================================
Index: SPECS/syslog-ng.spec
diff -u SPECS/syslog-ng.spec:1.159 SPECS/syslog-ng.spec:1.160
--- SPECS/syslog-ng.spec:1.159	Tue Jan 20 18:18:32 2009
+++ SPECS/syslog-ng.spec	Tue Jan 20 18:19:11 2009
@@ -165,6 +165,7 @@
 sed -i -e 's#match("IN\=\[A-Za-z0-9\]\* OUT=\[A-Za-z0-9\]\*");#match("IN=[A-Za-z0-9]* OUT=[A-Za-z0-9]*" value("MESSAGE"));#g' /etc/syslog-ng/syslog-ng.conf
 sed -i -e "1 s#\(.*\)\$#@version: 3.0\n\1#g" /etc/syslog-ng/syslog-ng.conf
 rm -f %{_var}/lib/%{name}/syslog-ng.persist
+%service syslog-ng restart "syslog-ng daemon"
 exit 0
 
 %files
@@ -191,6 +192,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.160  2009/01/20 17:19:11  arekm
+- restart after trigger
+
 Revision 1.159  2009/01/20 17:18:32  arekm
 - rel 5; trigger for sync() directive
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/syslog-ng.spec?r1=1.159&r2=1.160&f=u



More information about the pld-cvs-commit mailing list