commit 332389375541dba3ffcf13af619210bb4a1f18b0
Author: Jacek Konieczny <[email protected]>
Date:   Tue Nov 13 10:02:56 2012 +0100

    Request graceful shutdown by pacemakerd --shutdown

 pacemaker.service | 1 +
 pacemaker.spec    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pacemaker.spec b/pacemaker.spec
index 569e790..2e18c5c 100644
--- a/pacemaker.spec
+++ b/pacemaker.spec
@@ -4,7 +4,7 @@
 Summary:       The scalable High-Availability cluster resource manager
 Name:          pacemaker
 Version:       1.1.8
-Release:       2
+Release:       3
 License:       GPL v2+; LGPL v2.1+
 Group:         Applications/System
 Source0:       
https://github.com/ClusterLabs/pacemaker/tarball/Pacemaker-1.1.8/Pacemaker-%{version}.tar.gz
diff --git a/pacemaker.service b/pacemaker.service
index 3f601e9..ceff235 100644
--- a/pacemaker.service
+++ b/pacemaker.service
@@ -13,6 +13,7 @@ KillMode=process
 NotifyAccess=main
 EnvironmentFile=-/etc/sysconfig/pacemaker
 ExecStart=/usr/sbin/pacemakerd -f --pid-file=/var/run/pacemakerd.pid
+ExecStop=/usr/sbin/pacemakerd --shutdown
 
 # Pacemaker can only exit after all managed services have shut down
 # A HA database could conceivably take even longer than this 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pacemaker.git/commitdiff/332389375541dba3ffcf13af619210bb4a1f18b0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to