Add important stopasgroup to supervisor config
This commit is contained in:
parent
9de94414d0
commit
51c21a10b5
|
@ -64,6 +64,7 @@ Configure `/etc/supervisor/conf.d/airlock.conf`:
|
||||||
user=pi
|
user=pi
|
||||||
directory=/opt/airlock
|
directory=/opt/airlock
|
||||||
command=/opt/airlock/env/bin/python -u main.py
|
command=/opt/airlock/env/bin/python -u main.py
|
||||||
|
stopasgroup=true
|
||||||
stopsignal=INT
|
stopsignal=INT
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user