From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../python/python3-supervisor/supervisor.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service (limited to 'external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service') diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service new file mode 100644 index 00000000..e9d3f706 --- /dev/null +++ b/external/meta-openembedded/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 -- cgit 1.2.3-korg