diff options
Diffstat (limited to 'app-admin/mcollective/files')
-rw-r--r-- | app-admin/mcollective/files/mcollectived.initd | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/app-admin/mcollective/files/mcollectived.initd b/app-admin/mcollective/files/mcollectived.initd deleted file mode 100644 index 8e295ceaa41c..000000000000 --- a/app-admin/mcollective/files/mcollectived.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the Apache License, Version 2.0 - -mcollectived="/usr/sbin/mcollectived" -pidfile="/var/run/mcollectived" - -depend() { - need net -} - -start() { - ebegin "Starting mcollectived" - ${mcollectived} --pid=${pidfile} --config="/etc/mcollective/server.cfg" - eend $? -} - -stop() { - ebegin "Stopping mcollectived" - kill `cat ${pidfile}` - eend $? -} - -restart() { - svc_stop - sleep 2 - svc_start -} |