mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-21 17:17:47 +02:00
Update icinga2 and icingaweb2
Also add diff scripts
This commit is contained in:
parent
fd860466be
commit
bc59dc757c
7
diff
Executable file
7
diff
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
curl -LsS --output icinga2.spec~ "https://raw.githubusercontent.com/Icinga/icinga2/master/icinga2.spec"
|
||||||
|
|
||||||
|
diff -Nau icinga2.spec{,~}
|
11
icinga2.spec
11
icinga2.spec
@ -393,7 +393,7 @@ do
|
|||||||
done
|
done
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
#/usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux
|
/usr/sbin/hardlink -cv %{buildroot}%{_datadir}/selinux
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
@ -469,10 +469,13 @@ getent passwd %{icinga_user} >/dev/null || %{_sbindir}/useradd -c "icinga" -s /s
|
|||||||
%fillup_and_insserv %{name}
|
%fillup_and_insserv %{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# initial installation, enable default features
|
if [ ${1:-0} -eq 1 ]
|
||||||
for feature in checker notification mainlog; do
|
then
|
||||||
|
# initial installation, enable default features
|
||||||
|
for feature in checker notification mainlog; do
|
||||||
ln -sf ../features-available/${feature}.conf %{_sysconfdir}/%{name}/features-enabled/${feature}.conf
|
ln -sf ../features-available/${feature}.conf %{_sysconfdir}/%{name}/features-enabled/${feature}.conf
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user