[mcollective/el5] Fix ExecReload in systemd file.

stevetraylen stevetraylen at fedoraproject.org
Mon May 21 18:37:43 UTC 2012


commit 0ef783170d1b46c7b15d6fc21442239608aec6d8
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Mon May 21 22:15:26 2012 +0200

    Fix ExecReload in systemd file.

 mcollective.service |    1 +
 mcollective.spec    |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/mcollective.service b/mcollective.service
index 2a056aa..6c98dd7 100644
--- a/mcollective.service
+++ b/mcollective.service
@@ -7,6 +7,7 @@ Type=forking
 StandardOutput=syslog
 StandardError=syslog
 ExecStart=/usr/sbin/mcollectived --config=/etc/mcollective/server.cfg --pidfile=/var/run/mcollective.pid
+ExecReload=/bin/kill -USR1 $MAINPID
 PIDFile=/var/run/mcollective.pid
 
 [Install]
diff --git a/mcollective.spec b/mcollective.spec
index fb8a356..f2b70c1 100644
--- a/mcollective.spec
+++ b/mcollective.spec
@@ -8,7 +8,7 @@
 Summary:   A framework to build server orchestration or parallel job execution systems
 Name:      mcollective
 Version:   2.0.0
-Release:   1%{?dist}
+Release:   2%{?dist}
 Group:     Applications/System
 License:   ASL 2.0
 
@@ -194,6 +194,9 @@ fi
 %dir /etc/mcollective/ssl/clients
 
 %changelog
+* Mon May 21 2012 Steve Traylen <steve.traylen at cern.ch> - 2.0.0-2
+- Fix ExecReload in systemd file.
+
 * Thu May 3 2012 Steve Traylen <steve.traylen at cern.ch> - 2.0.0-1
 - New version.
 


More information about the scm-commits mailing list