[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

David GUENAULT dguenault at monitoring-fr.org
Tue Feb 28 22:22:28 UTC 2012


The following commit has been merged in the debian/master branch:
commit 8818ea6d0c36fd090c37e6e181e14aa89bf995fe
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date:   Sat Feb 25 08:20:52 2012 +0100

    FIX wrong init script name for apache on redhat/centos

diff --git a/install b/install
index 72b680c..2328bf8 100755
--- a/install
+++ b/install
@@ -1160,7 +1160,7 @@ function install_pnp4nagios(){
     then
         cecho " > Fix htpasswd.users path" green
         sed -i "s#/usr/local/nagios/etc/htpasswd.users#$TARGET/etc/htpasswd.users#g" /etc/httpd/conf.d/pnp4nagios.conf 
-        /etc/init.d/apache2 restart >> $TMP/shinken.install.log 2>&1 
+        /etc/init.d/httpd restart >> $TMP/shinken.install.log 2>&1 
     else
         cecho " > Fix htpasswd.users path" green
         sed -i "s#/usr/local/nagios/etc/htpasswd.users#$TARGET/etc/htpasswd.users#g" /etc/apache2/conf.d/pnp4nagios.conf 

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list