From c3ba5c4368a791fa7b0c7392cdbbd0ae297ee610 Mon Sep 17 00:00:00 2001 From: Jerry_Yan_testenv <792602257@qq.com> Date: Fri, 14 Oct 2022 17:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0SuperVisor=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- example/supervisor.conf | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 example/supervisor.conf diff --git a/.gitignore b/.gitignore index 019a780..45d5746 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ debug error __pycache__ *.py[cod] -*.xml \ No newline at end of file +*.xml +settings.yml diff --git a/example/supervisor.conf b/example/supervisor.conf new file mode 100644 index 0000000..7d8a59e --- /dev/null +++ b/example/supervisor.conf @@ -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