2023-04-04 18:47:37 +02:00
|
|
|
[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
|
2023-04-05 12:54:52 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|