[mcollective] Fix systemd start up file.

stevetraylen stevetraylen at fedoraproject.org
Tue Apr 24 19:48:01 UTC 2012


commit f94ae5c431247e6d5ebb14fb4c708c9949d90e3f
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Tue Apr 24 23:45:21 2012 +0200

    Fix systemd start up file.

 mcollective.service |    4 +++-
 mcollective.spec    |    5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mcollective.service b/mcollective.service
index bad474b..2a056aa 100644
--- a/mcollective.service
+++ b/mcollective.service
@@ -3,9 +3,11 @@ Description=The Marionette Collective
 After=network.target
 
 [Service]
+Type=forking
 StandardOutput=syslog
 StandardError=syslog
-ExecStart=/usr/sbin/mcollectived --config=/etc/mcollective/server.cfg
+ExecStart=/usr/sbin/mcollectived --config=/etc/mcollective/server.cfg --pidfile=/var/run/mcollective.pid
+PIDFile=/var/run/mcollective.pid
 
 [Install]
 WantedBy=multi-user.target
diff --git a/mcollective.spec b/mcollective.spec
index 4f24192..470cb07 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:   1.3.3
-Release:   2%{?dist}
+Release:   3%{?dist}
 Group:     Applications/System
 License:   ASL 2.0
 
@@ -194,6 +194,9 @@ fi
 %dir /etc/mcollective/ssl/clients
 
 %changelog
+* Tue Apr 24 2012 Steve Traylen <steve.traylen at cern.ch> - 1.3.3-3
+- Fix systemd start up file.
+
 * Wed Apr 18 2012 Steve Traylen <steve.traylen at cern.ch> - 1.3.3-2
 - Update to Fedora's new ruby guidelines.
 


More information about the scm-commits mailing list