[sendmail/f15] The nm-dispatcher now uses try-restart instead of restart Resolves: rhbz#748416

Jaroslav Škarvada jskarvad at fedoraproject.org
Mon Oct 24 12:26:13 UTC 2011


commit 4a0e0965715b1181e169c0a3cb5fc9f381371d3a
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Mon Oct 24 14:26:07 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 78b9315..9b5c5e5 100644
--- a/sendmail.nm-dispatcher
+++ b/sendmail.nm-dispatcher
@@ -2,6 +2,6 @@
 
 case "$2" in
 	up|down|vpn-up|vpn-down)
-		/sbin/service sendmail restart || :
+		/sbin/service sendmail try-restart || :
 		;;
 esac
diff --git a/sendmail.spec b/sendmail.spec
index ff15f87..a73ad26 100644
--- a/sendmail.spec
+++ b/sendmail.spec
@@ -14,7 +14,7 @@
 Summary: A widely used Mail Transport Agent (MTA)
 Name: sendmail
 Version: 8.14.5
-Release: 2%{?dist}.1
+Release: 2%{?dist}.2
 License: Sendmail
 Group: System Environment/Daemons
 URL: http://www.sendmail.org/
@@ -648,6 +648,10 @@ exit 0
 
 
 %changelog
+* Mon Oct 24 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.5-2.2
+- The nm-dispatcher now uses try-restart instead of restart
+  Resolves: rhbz#748416
+
 * Fri Jul 22 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 8.14.5-2.1
 - Fixed SMTP AUTH over TLS in case of two AUTH lines
   Resolves: rhbz#716628


More information about the scm-commits mailing list