Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-MCOLLECTIVE_PID_DIR="${MCOLLECTIVE_PID_DIR:-/var/run/puppetlabs}"
-
-command="/usr/sbin/mcollectived"
-pidfile="${MCOLLECTIVE_PID_DIR}/mcollectived.pid"
-
-command_args="--pidfile ${pidfile} --config=/etc/puppetlabs/mcollective/server.cfg --daemonize"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath --directory "${MCOLLECTIVE_PID_DIR}"
-}
+++ /dev/null
-[Unit]
-Description=The Marionette Collective
-After=network.target
-
-[Service]
-Type=forking
-StandardOutput=syslog
-StandardError=syslog
-ExecStart=/usr/sbin/mcollectived --config=/etc/puppetlabs/mcollective/server.cfg --pidfile=/var/run/puppetlabs/mcollective.pid --daemonize
-ExecReload=/bin/kill -USR1 $MAINPID
-PIDFile=/var/run/puppetlabs/mcollective.pid
-
-[Install]
-WantedBy=multi-user.target