SPECS: nagios.spec - add nagios-data group to http in trigger for ...

glen glen at pld-linux.org
Tue Aug 9 12:34:53 CEST 2005


Author: glen                         Date: Tue Aug  9 10:34:53 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add nagios-data group to http in trigger for it to be done in proper order

---- Files affected:
SPECS:
   nagios.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/nagios.spec
diff -u SPECS/nagios.spec:1.59 SPECS/nagios.spec:1.60
--- SPECS/nagios.spec:1.59	Tue Aug  9 12:19:58 2005
+++ SPECS/nagios.spec	Tue Aug  9 12:34:47 2005
@@ -11,7 +11,7 @@
 Name:		nagios
 Version:	2.0
 %define	_rc     b4
-%define	_rel	2
+%define	_rel	3
 Release:	0.%{_rc}.%{_rel}
 License:	GPL v2
 Group:		Networking
@@ -271,8 +271,6 @@
 fi
 
 %post cgi
-%addusertogroup http nagios-data
-
 if [ "$1" = 1 ]; then
 %banner %{name} -e <<EOF
 NOTE:
@@ -282,12 +280,14 @@
 fi
 
 %triggerin cgi -- apache1 >= 1.3.33-2
+%addusertogroup http nagios-data
 %apache_config_install -v 1 -c %{_sysconfdir}/apache-%{name}.conf
 
 %triggerun cgi -- apache1 >= 1.3.33-2
 %apache_config_uninstall -v 1
 
 %triggerin cgi -- apache >= 2.0.0
+%addusertogroup http nagios-data
 %apache_config_install -v 2 -c %{_sysconfdir}/apache-%{name}.conf
 
 %triggerun cgi -- apache >= 2.0.0
@@ -427,6 +427,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2005/08/09 10:34:47  glen
+- add nagios-data group to http in trigger for it to be done in proper order
+
 Revision 1.59  2005/08/09 10:19:58  glen
 - use apache config triggers
 - rel 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nagios.spec?r1=1.59&r2=1.60&f=u




More information about the pld-cvs-commit mailing list