diff --git a/sendmail.nm-dispatcher b/sendmail.nm-dispatcher index fe74171..3922a4f 100644 --- a/sendmail.nm-dispatcher +++ b/sendmail.nm-dispatcher @@ -2,6 +2,6 @@ case "$2" in up|down|vpn-up|vpn-down) - /bin/systemctl restart sendmail.service || : + /bin/systemctl try-restart sendmail.service || : ;; esac diff --git a/sendmail.spec b/sendmail.spec index 5c1e7a4..b854d8e 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -23,7 +23,7 @@ Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.14.5 -Release: 9%{?dist} +Release: 10%{?dist} License: Sendmail Group: System Environment/Daemons URL: http://www.sendmail.org/ @@ -719,6 +719,10 @@ fi %{_initrddir}/sendmail %changelog +* Mon Oct 24 2011 Jaroslav Škarvada - 8.14.5-10 +- The nm-dispatcher now uses try-restart instead of restart + Resolves: rhbz#748416 + * Tue Sep 13 2011 Jaroslav Škarvada - 8.14.5-9 - Enabled alternatives --initscript in post section - Improved sysvinit subpackage - switched to noarch, added scriptlets