diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-admin/supervisor/files | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/supervisor/files')
-rw-r--r-- | app-admin/supervisor/files/conf.d | 4 | ||||
-rw-r--r-- | app-admin/supervisor/files/conf.d-r1 | 7 | ||||
-rw-r--r-- | app-admin/supervisor/files/init.d | 27 | ||||
-rw-r--r-- | app-admin/supervisor/files/init.d-r1 | 12 | ||||
-rw-r--r-- | app-admin/supervisor/files/init.d-r2 | 15 | ||||
-rw-r--r-- | app-admin/supervisor/files/supervisord.conf | 69 | ||||
-rw-r--r-- | app-admin/supervisor/files/supervisord.service | 15 |
7 files changed, 0 insertions, 149 deletions
diff --git a/app-admin/supervisor/files/conf.d b/app-admin/supervisor/files/conf.d deleted file mode 100644 index 922f4ce4132f..000000000000 --- a/app-admin/supervisor/files/conf.d +++ /dev/null @@ -1,4 +0,0 @@ -# /etc/conf.d/supervisord - -# Options to pass to the supervisord process -SUPD_OPTS="" diff --git a/app-admin/supervisor/files/conf.d-r1 b/app-admin/supervisor/files/conf.d-r1 deleted file mode 100644 index 7a80c826ef51..000000000000 --- a/app-admin/supervisor/files/conf.d-r1 +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/conf.d/supervisord - -# Configuration file (default: /etc/supervisord.conf) -#SUPD_CONFIG_FILE="/etc/supervisord.conf" - -# Options to pass to the supervisord process -SUPD_OPTS="" diff --git a/app-admin/supervisor/files/init.d b/app-admin/supervisor/files/init.d deleted file mode 100644 index bf8d00c9517d..000000000000 --- a/app-admin/supervisor/files/init.d +++ /dev/null @@ -1,27 +0,0 @@ -#!/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 $? -} diff --git a/app-admin/supervisor/files/init.d-r1 b/app-admin/supervisor/files/init.d-r1 deleted file mode 100644 index f22f49d54947..000000000000 --- a/app-admin/supervisor/files/init.d-r1 +++ /dev/null @@ -1,12 +0,0 @@ -#!/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" diff --git a/app-admin/supervisor/files/init.d-r2 b/app-admin/supervisor/files/init.d-r2 deleted file mode 100644 index c5723b36f013..000000000000 --- a/app-admin/supervisor/files/init.d-r2 +++ /dev/null @@ -1,15 +0,0 @@ -#!/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}" diff --git a/app-admin/supervisor/files/supervisord.conf b/app-admin/supervisor/files/supervisord.conf deleted file mode 100644 index 91d6be018123..000000000000 --- a/app-admin/supervisor/files/supervisord.conf +++ /dev/null @@ -1,69 +0,0 @@ -; Supervisor configuration file based on supervisor/skel/sample.conf -; vim: set ft=dosini: - -; The below section contains configuration parameters for an HTTP server -; that listens on a UNIX domain socket. If the configuration file has no -; [unix_http_server] section, a UNIX domain socket HTTP server will not -; be started. -[unix_http_server] -; the path to the socket file (with which supervisorctl can communicate) -file=/run/supervisord.sock -; socket file mode (default 0700) -chmod=0770 -; socket file uid:gid owner -chown=root:supervisor -; default is no username (open server) -;username=user -; default is no password (open server) -;password=123 - -; The below section contains global settings -; related to the supervisord process. -[supervisord] -; main log file; default $CWD/supervisord.log -logfile=/var/log/supervisor/supervisord.log -; 'AUTO' child log dir, default $TEMP -childlogdir=/var/log/supervisor -; max main logfile bytes before rotation; default 50MB -logfile_maxbytes=50MB -; number of main logfile backups; 0 means none, default 10 -logfile_backups=10 -; log level; default info; others: debug, warn, trace -loglevel=info -; minimum available startup file descriptors; default 1024 -minfds=1024 -; minimum available process descriptors; default 200 -minprocs=200 -; default is current user, must be explicitely set if running as root -user=root -; process file creation umask; default 022 -;umask=022 -; supervisord identifier, default is 'supervisor' -;identifier=supervisor -; default is not to cd during start -;directory=/tmp -; don't clean up tempfiles at start; default false -;nocleanup=true -; key value pairs to add to environment -;environment=KEY="value" -; strip ANSI escape codes in logs; default false -;strip_ansi=false - -; The below section must remain in the config file for RPC -; (supervisorctl/web interface) to work, additional interfaces may be -; added by defining them in separate rpcinterface: sections -[rpcinterface:supervisor] -supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface - -; The below section contains settings for -; the supervisorctl interactive shell program. -[supervisorctl] -serverurl=unix:///run/supervisord.sock ; use a unix:// URL for a unix socket - -; The below section can just contain the "files" setting. This -; setting can list multiple files (separated by whitespace or -; newlines). It can also contain wildcards. The filenames are -; interpreted as relative to this file. Included files *cannot* -; include files themselves. -[include] -files = /etc/supervisord.d/*.conf diff --git a/app-admin/supervisor/files/supervisord.service b/app-admin/supervisor/files/supervisord.service deleted file mode 100644 index 4ccd1ca5fcc0..000000000000 --- a/app-admin/supervisor/files/supervisord.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=Supervisor process control system for UNIX -Documentation=http://supervisord.org -After=network.target - -[Service] -ExecStart=/usr/bin/supervisord -n -c /etc/supervisord.conf -ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown -ExecReload=/usr/bin/supervisorctl -c /etc/supervisord.conf $OPTIONS reload -KillMode=process -Restart=on-failure -RestartSec=50s - -[Install] -WantedBy=multi-user.target |