Files
gentoo/app-admin/supervisor/files/init.d-r2
Louis Sautier ae9ec8eac3 app-admin/supervisor: bump to 3.3.4, add default config, dedicated group
- Add a default configuration file.
- Add a dedicated log directory and a group to which users can be added
in order to run supervisorctl and access logs.
- Fix warnings related to namespace packages.
- Add a missing RDEPEND on dev-python/setuptools (pkg_resources).
- Fix the init script to explicitely specify a configuration file to
supervisord, otherwise a warning is issued.
- Add informational messages when the package is installed for the first
time.

Closes: https://bugs.gentoo.org/589734

Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8453
2018-05-24 08:27:27 +02:00

16 lines
553 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2018 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"
SUPD_CONFIG_FILE="${SUPD_CONFIG_FILE:-/etc/supervisord.conf}"
command="/usr/bin/supervisord"
pidfile="/run/supervisord.pid"
command_args="--nodaemon --pidfile ${pidfile} --configuration \
\"${SUPD_CONFIG_FILE}\" ${SUPD_OPTS}"
command_background="yes"
required_files="${SUPD_CONFIG_FILE}"