From cfc1cfaa5c8d38e5b3140f54de29106b4a95353b Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Wed, 21 Dec 2022 18:17:14 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8FAdd=20daemon=20for=20`web=5Fa?= =?UTF-8?q?pp.py`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daemon/web_app.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 daemon/web_app.service diff --git a/daemon/web_app.service b/daemon/web_app.service new file mode 100644 index 0000000..51b62cb --- /dev/null +++ b/daemon/web_app.service @@ -0,0 +1,14 @@ +[Unit] +Description=www/wwwroot/Douyin_TikTok_Download_API/web_app.py deamon +After=rc-local.service + +[Service] +Type=simple +User=root +Group=root +WorkingDirectory=/www/wwwroot/Douyin_TikTok_Download_API +ExecStart=python3 web_app.py +Restart=always + +[Install] +WantedBy=multi-user.target