📂Add web_app.conf for supervisor

This commit is contained in:
Evil0ctal 2022-12-21 17:06:07 -08:00 committed by GitHub
parent 3d274d718b
commit dfbec00f21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
supervisor/web_app.conf Normal file
View File

@ -0,0 +1,14 @@
[program:web_app]
command=python3 web_app.py
directory=/www/wwwroot/Douyin_TikTok_Download_API/
autorestart=true
startsecs=3
startretries=3
stdout_logfile=/www/wwwroot/Douyin_TikTok_Download_API/log/web_app.out.log
stderr_logfile=/www/wwwroot/Douyin_TikTok_Download_API/log/web_app.err.log
stdout_logfile_maxbytes=2MB
stderr_logfile_maxbytes=2MB
user=root
priority=999
numprocs=1
process_name=%(program_name)s_%(process_num)02d