change rigths for nagios-LogDir in install.sh
authorPeter Pfeiffer <peterman@ipfire.org>
Wed, 18 Mar 2009 11:48:42 +0000 (12:48 +0100)
committerPeter Pfeiffer <peterman@ipfire.org>
Wed, 18 Mar 2009 11:48:42 +0000 (12:48 +0100)
src/paks/nagios/install.sh

index 4abeba6b91abc97a96b2cb377161892947d7d461..567a2c77f8d1f7132e98efea7beaa42f3eb46304 100644 (file)
@@ -24,6 +24,7 @@
 . /opt/pakfire/lib/functions.sh
 extract_files
 restore_backup ${NAME}
 . /opt/pakfire/lib/functions.sh
 extract_files
 restore_backup ${NAME}
+chown -R nobody:nobody /var/nagios
 htpasswd -bmc /etc/nagios/htpasswd.users nagiosadmin nagios
 /etc/init.d/apache restart
 start_service --background ${NAME}
 htpasswd -bmc /etc/nagios/htpasswd.users nagiosadmin nagios
 /etc/init.d/apache restart
 start_service --background ${NAME}