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