[icinga-checkins] icinga.org: icinga-web/r1.3: fix icinga-web spec file does not perform %pre functions #1288

git at icinga.org git at icinga.org
Wed Mar 30 11:19:22 CEST 2011


Module: icinga-web
Branch: r1.3
Commit: 1937515b359c349bcda4d9e8d9d1bef49ec8c450
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=1937515b359c349bcda4d9e8d9d1bef49ec8c450

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 30 11:19:02 2011 +0200

fix icinga-web spec file does not perform %pre functions #1288

fixes #1288

---

 icinga-web.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/icinga-web.spec b/icinga-web.spec
index 7132c7d..c2cfd2a 100644
--- a/icinga-web.spec
+++ b/icinga-web.spec
@@ -84,6 +84,10 @@ Icinga Web for Icinga Core, requires Icinga API.
 %pre
 ##############################
 
+# Add apacheuser in the icingacmd group
+  /usr/sbin/usermod -a -G icingacmd %{apacheuser}
+
+
 #uncomment if building from git
 #%{__rm} -rf %{buildroot}%{_datadir}/icinga-web/.git
 





More information about the icinga-checkins mailing list