diff options
Diffstat (limited to 'app-admin/puppet/files/puppet.init-4.x')
-rw-r--r-- | app-admin/puppet/files/puppet.init-4.x | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app-admin/puppet/files/puppet.init-4.x b/app-admin/puppet/files/puppet.init-4.x deleted file mode 100644 index f7106e6f0294..000000000000 --- a/app-admin/puppet/files/puppet.init-4.x +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PUPPET_PID_DIR="${PUPPET_PID_DIR:-/var/run/puppet}" - -pidfile="${PUPPET_PID_DIR}/puppet.pid" -PUPPET_LOG_DIR="/var/log/puppet" - -command="/usr/bin/puppet" -extra_started_commands="reload" - -command_args="agent --pidfile ${pidfile} --confdir /etc/puppetlabs/puppet ${PUPPET_EXTRA_OPTS}" - -depend() { - need localmount - use dns logger puppetmaster netmount nfsmount -} - -start_pre() { - checkpath --directory --owner puppet:puppet "${PUPPET_PID_DIR}" - checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR} -} - -reload() { - ebegin "Reloading $RC_SVCNAME" - start-stop-daemon --signal SIGHUP --pidfile "${pidfile}" - eend $? -} |