You've already forked Douyin_Web_Live
添加SuperVisor配置示例
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ 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