mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-20 11:35:01 +08:00
⚙️Add daemon for web_app.py
This commit is contained in:
parent
39424fc0b2
commit
cfc1cfaa5c
14
daemon/web_app.service
Normal file
14
daemon/web_app.service
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user