The nm-dispatcher now uses try-restart instead of restart

Resolves: rhbz#748416
This commit is contained in:
Jaroslav Škarvada 2011-10-24 14:13:46 +02:00
parent 648155a581
commit 049c622b1a
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 <jskarvad@redhat.com> - 8.14.5-10
- The nm-dispatcher now uses try-restart instead of restart
Resolves: rhbz#748416
* Tue Sep 13 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 8.14.5-9
- Enabled alternatives --initscript in post section
- Improved sysvinit subpackage - switched to noarch, added scriptlets