rpms/zabbix/devel zabbix.spec,1.40,1.41

Ville Skyttä scop at fedoraproject.org
Thu Apr 16 21:08:47 UTC 2009


Author: scop

Update of /cvs/pkgs/rpms/zabbix/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3916

Modified Files:
	zabbix.spec 
Log Message:
Restart running services on package upgrades.


Index: zabbix.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zabbix/devel/zabbix.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- zabbix.spec	16 Apr 2009 21:01:08 -0000	1.40
+++ zabbix.spec	16 Apr 2009 21:08:17 -0000	1.41
@@ -1,6 +1,6 @@
 Name:           zabbix
 Version:        1.6.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Open-source monitoring solution for your IT infrastructure
 
 Group:          Applications/Internet
@@ -425,6 +425,25 @@
 fi
 :
 
+%postun server
+if [ $1 -ge 1 ]
+then
+  /sbin/service zabbix-server try-restart >/dev/null 2>&1 || :
+fi
+
+%postun proxy
+if [ $1 -ge 1 ]
+then
+  /sbin/service zabbix-proxy try-restart >/dev/null 2>&1 || :
+fi
+
+%postun agent
+if [ $1 -ge 1 ]
+then
+  /sbin/service zabbix-agent try-restart >/dev/null 2>&1 || :
+fi
+
+
 %post web
 # move existing config file on update
 if [ "$1" -ge "1" ]
@@ -517,10 +536,11 @@
 
 
 %changelog
-* Thu Apr  9 2009 Ville Skyttä <ville.skytta at iki.fi>
+* Fri Apr 17 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.4-3
 - Tighten configuration file permissions.
 - Ensure zero exit status from scriptlets.
 - Improve init script LSB compliance.
+- Restart running services on package upgrades.
 
 * Thu Apr  9 2009 Dan Horák <dan[at]danny.cz> - 1.6.4-2
 - make the -docs subpackage noarch




More information about the fedora-extras-commits mailing list