11 lines
307 B
SYSTEMD
11 lines
307 B
SYSTEMD
|
[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
|