From c5c6e9b545d1f108975498cb4b0d34b40a254d91 Mon Sep 17 00:00:00 2001 From: Parthiban Nallathambi Date: Wed, 1 May 2019 14:20:40 +0200 Subject: python3-supervisor: add version 4.0.2 Added python3-supervisor with following missing DEPENDS - python3-meld3 version 1.0.2 Signed-off-by: Parthiban Nallathambi Signed-off-by: Khem Raj --- .../python/python3-supervisor/supervisor.service | 15 +++++++++++ .../python/python3-supervisor/supervisord.conf | 31 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-supervisor/supervisor.service create mode 100644 meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf (limited to 'meta-python/recipes-devtools/python/python3-supervisor') diff --git a/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service b/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service new file mode 100644 index 0000000000..e9d3f706b8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service @@ -0,0 +1,15 @@ +[Unit] +Description=Supervisor process control system for UNIX +Documentation=http://supervisord.org +After=network.target + +[Service] +ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf +ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown +ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf $OPTIONS reload +KillMode=process +Restart=on-failure +RestartSec=50s + +[Install] +WantedBy=multi-user.target diff --git a/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf b/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf new file mode 100644 index 0000000000..3fb9b492dd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf @@ -0,0 +1,31 @@ +; supervisor config file + +[unix_http_server] +file=/var/run/supervisor.sock ; (the path to the socket file) +chmod=0700 ; sockef file mode (default 0700) + +[supervisord] +logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) +pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) +childlogdir=/var/log/ ; ('AUTO' child log dir, default $TEMP) + +; 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 + +[supervisorctl] +serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket + +; The [include] 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/supervisor/conf.d/*.conf + +;[inet_http_server] +;port=127.0.0.1:9001 -- cgit 1.2.3-korg