From de023baf348b34e9a55e76622a4f052ceb616af9 Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Wed, 21 Dec 2022 17:03:01 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=82Add=20`web=5Fapi.conf`=20for=20`sup?= =?UTF-8?q?ervisor`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervisor/web_api.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 supervisor/web_api.conf diff --git a/supervisor/web_api.conf b/supervisor/web_api.conf new file mode 100644 index 0000000..8df0882 --- /dev/null +++ b/supervisor/web_api.conf @@ -0,0 +1,14 @@ +[program:web_api] +command=python3 web_api.py +directory=/www/wwwroot/Douyin_TikTok_Download_API/ +autorestart=true +startsecs=3 +startretries=3 +stdout_logfile=/www/wwwroot/Douyin_TikTok_Download_API/log/web_api.out.log +stderr_logfile=/www/wwwroot/Douyin_TikTok_Download_API/log/web_api.err.log +stdout_logfile_maxbytes=2MB +stderr_logfile_maxbytes=2MB +user=root +priority=999 +numprocs=1 +process_name=%(program_name)s_%(process_num)02d