added upfast.sh for quick install and upfast.service
This commit is contained in:
parent
7c593f2fc2
commit
da70b22fdf
2 changed files with 37 additions and 0 deletions
10
upfast.service
Normal file
10
upfast.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=UpFast service
|
||||
Documentation=https://code.cronyakatsuki.xyz/crony/upfast
|
||||
|
||||
[Service]
|
||||
User=upfast
|
||||
Group=upfast
|
||||
WorkingDirectory=/usr/local/upfast/
|
||||
ExecStart=/usr/local/upfast/env/bin/uvicorn main:app --host 127.0.0.1 --port 8000 --proxy-headers --forwarded-allow-ips='*'
|
||||
Restart=on-failure
|
Loading…
Add table
Add a link
Reference in a new issue