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