summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-supervisor/supervisor.service')
-rw-r--r--meta-python/recipes-devtools/python/python3-supervisor/supervisor.service15
1 files changed, 15 insertions, 0 deletions
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 @@
1[Unit]
2Description=Supervisor process control system for UNIX
3Documentation=http://supervisord.org
4After=network.target
5
6[Service]
7ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
8ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown
9ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf $OPTIONS reload
10KillMode=process
11Restart=on-failure
12RestartSec=50s
13
14[Install]
15WantedBy=multi-user.target