Hello community, here is the log from the commit of package icinga for openSUSE:Factory checked in at 2014-07-28 06:50:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icinga (Old) and /work/SRC/openSUSE:Factory/.icinga.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icinga" Changes: -------- --- /work/SRC/openSUSE:Factory/icinga/icinga.changes 2014-06-30 21:50:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.icinga.new/icinga.changes 2014-07-28 06:50:31.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 8 09:38:36 UTC 2014 - [email protected] + +- use systemctl to restart Apache on modern distributions + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icinga.spec ++++++ --- /var/tmp/diff_new_pack.DeIURh/_old 2014-07-28 06:50:33.000000000 +0200 +++ /var/tmp/diff_new_pack.DeIURh/_new 2014-07-28 06:50:33.000000000 +0200 @@ -543,17 +543,22 @@ then # this is the initial installation: enable icinga test -x %{_sbindir}/a2enflag && %{_sbindir}/a2enflag ICINGA >/dev/null + %if 0%{?using_systemd} + %{_bindir}/systemctl try-restart apache2 + %else + %restart_on_update apache2 + %endif fi -%restart_on_update apache2 - -%preun www -%restart_on_update apache2 %postun www if [ "$1" = "0" ]; then # deinstallation of the package - remove the apache flag test -x %{_sbindir}/a2disflag && %{_sbindir}/a2disflag ICINGA >/dev/null + %if 0%{?using_systemd} + %{_bindir}/systemctl try-restart apache2 + %else %restart_on_update apache2 + %endif fi %post idoutils -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
