Move all to deprecated folder.
This commit is contained in:
13
deprecated/firmware/buildroot/package/supervisor/Config.in
Normal file
13
deprecated/firmware/buildroot/package/supervisor/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_SUPERVISOR
|
||||
bool "supervisor"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON_MELD3
|
||||
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency
|
||||
help
|
||||
A client/server system that allows its users to control a
|
||||
number of processes on UNIX-like operating systems.
|
||||
|
||||
http://supervisord.org/
|
||||
|
||||
comment "supervisor needs the python interpreter"
|
||||
depends on !BR2_PACKAGE_PYTHON
|
||||
29
deprecated/firmware/buildroot/package/supervisor/S99supervisord
Executable file
29
deprecated/firmware/buildroot/package/supervisor/S99supervisord
Executable file
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /var/log/supervisor
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting supervisord: "
|
||||
start-stop-daemon -S -q -p /var/run/supervisord.pid --exec /usr/bin/supervisord
|
||||
echo "done"
|
||||
;;
|
||||
stop)
|
||||
printf "Stopping supervisord: "
|
||||
start-stop-daemon -K -q -p /var/run/supervisord.pid
|
||||
echo "done"
|
||||
;;
|
||||
restart)
|
||||
"$0" stop
|
||||
sleep 5
|
||||
"$0" start
|
||||
;;
|
||||
reload)
|
||||
start-stop-daemon -K -q -p /var/run/supervisord.pid -s HUP
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart|reload}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e32c546fe8d2a6e079ec4819c49fd24534d4075a58af39118d04367918b3c282 supervisor-3.1.3.tar.gz
|
||||
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# supervisor
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SUPERVISOR_VERSION = 3.1.3
|
||||
SUPERVISOR_SITE = http://pypi.python.org/packages/source/s/supervisor
|
||||
SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa), ZPL-2.1
|
||||
SUPERVISOR_LICENSE_FILES = COPYRIGHT.txt LICENSES.txt
|
||||
SUPERVISOR_SETUP_TYPE = setuptools
|
||||
|
||||
define SUPERVISOR_INSTALL_CONF_FILES
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d
|
||||
$(INSTALL) -D -m 644 package/supervisor/supervisord.conf \
|
||||
$(TARGET_DIR)/etc/supervisord.conf
|
||||
endef
|
||||
|
||||
SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES
|
||||
|
||||
define SUPERVISOR_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 755 package/supervisor/S99supervisord \
|
||||
$(TARGET_DIR)/etc/init.d/S99supervisord
|
||||
endef
|
||||
|
||||
define SUPERVISOR_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/supervisor/supervisord.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/supervisord.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/supervisord.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/supervisord.service
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
||||
@@ -0,0 +1,18 @@
|
||||
[unix_http_server]
|
||||
file = /var/run/supervisor.sock
|
||||
|
||||
[supervisord]
|
||||
logfile = /var/log/supervisor/supervisord.log
|
||||
logfile_maxbytes = 200KB
|
||||
logfile_backups = 1
|
||||
pidfile = /var/run/supervisord.pid
|
||||
childlogdir = /var/log/supervisor
|
||||
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
[supervisorctl]
|
||||
serverurl = unix:///var/run/supervisor.sock
|
||||
|
||||
[include]
|
||||
files = /etc/supervisor.d/*.conf
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Process Control System
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/supervisord -n
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user