添加SuperVisor配置示例
This commit is contained in:
parent
98b7ba09e3
commit
c3ba5c4368
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,4 +7,5 @@ debug
|
|||||||
error
|
error
|
||||||
__pycache__
|
__pycache__
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*.xml
|
*.xml
|
||||||
|
settings.yml
|
||||||
|
9
example/supervisor.conf
Normal file
9
example/supervisor.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[program:DouyinWebLive]
|
||||||
|
directory=/opt/Douyin_Web_Live
|
||||||
|
command=python3 /opt/Douyin_Web_Live/main.py
|
||||||
|
autostart=true
|
||||||
|
autorestart=unexpected
|
||||||
|
startsecs=10
|
||||||
|
stopwaitsecs=10
|
||||||
|
stdout_logfile=/var/log/supervisor/dwl.log
|
||||||
|
redirect_stderr=true
|
Reference in New Issue
Block a user