[sendmail] The nm-dispatcher now uses try-restart instead of restart Resolves: rhbz#748416
Jaroslav Škarvada
jskarvad at fedoraproject.org
Mon Oct 24 12:13:53 UTC 2011
commit 049c622b1ac0d5c1fdaf62b7ef307da7ca4abc2c
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Mon Oct 24 14:13:46 2011 +0200
The nm-dispatcher now uses try-restart instead of restart
Resolves: rhbz#748416
sendmail.nm-dispatcher | 2 +-
sendmail.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
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 <jskarvad at 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 at redhat.com> - 8.14.5-9
- Enabled alternatives --initscript in post section
- Improved sysvinit subpackage - switched to noarch, added scriptlets
More information about the scm-commits
mailing list