Commit 800278ec authored by Jean-Philippe Levy's avatar Jean-Philippe Levy
Browse files

Fix notifier gui rights

parent e75b49cd
Summary: EyesOfNetwork Web Interface
Name: eonweb
Version: 5.2
Release: 0.eon
Release: 1.eon
Source: https://github.com/EyesOfNetworkCommunity/%{name}/archive/master.tar.gz#/%{name}-%{version}.tar.gz
Group: Applications/System
License: GPL
......@@ -55,6 +55,9 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
%changelog
* Thu May 17 2018 Jean-Philippe Levy <jeanphilippe.levy@gmail.com> - 5.2-1.eon
- fix notifier gui config
* Sun May 13 2018 Jean-Philippe Levy <jeanphilippe.levy@gmail.com> - 5.2-0.eon
- packaged for EyesOfNetwork appliance 5.2
......
......@@ -7,6 +7,7 @@ eondir="/srv/eyesofnetwork"
datadir="$eondir/eonweb"
eonwebdb="eonweb"
nagiosbpdb="nagiosbp"
notifierdb="notifier"
snmpdir="/etc/snmp"
backupdir="/etc"
......@@ -26,10 +27,12 @@ chown -R root:eyesofnetwork ${datadir}*
# create the eonweb database
mysqladmin -u root --password=root66 create ${eonwebdb}
mysqladmin -u root --password=root66 create ${nagiosbpdb}
mysqladmin -u root --password=root66 create ${notifierdb}
# create the database content
mysql -u root --password=root66 ${eonwebdb} < ${eonconfdir}/eonweb.sql
mysql -u root --password=root66 ${nagiosbpdb} < ${eonconfdir}/nagiosbp.sql
mysql -u root --password=root66 ${notifierdb} < ${datadir}/module/admin_notifier/db/notifier.sql
# Change DocumentRoot for apache
sed -i 's/^DocumentRoot.*/DocumentRoot\ \"\/srv\/eyesofnetwork\/eonweb\"/g' /etc/httpd/conf/httpd.conf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment