+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-checkconfig() {
- if [ ! -f /etc/supervisord.conf ] ; then
- eerror "Please create /etc/supervisord.conf:"
- eerror "echo_supervisord_conf >> /etc/supervisord.conf"
- return 1
- fi
- return 0
-}
-
-start() {
- checkconfig || return $?
- ebegin "Starting supervisord"
- start-stop-daemon --start \
- --exec /usr/bin/supervisord -b --pidfile /var/run/supervisord.pid \
- -- -n ${SUPD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping supervisord"
- start-stop-daemon --stop --pidfile /var/run/supervisord.pid
- eend $?
-}
+++ /dev/null
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems"
-
-command="/usr/bin/supervisord"
-pidfile="/var/run/supervisord.pid"
-command_args="--nodaemon --pidfile ${pidfile} ${SUPD_OPTS}"
-command_background="yes"
-
-required_files="/etc/supervisord.conf"