14 lines
345 B
Desktop File
14 lines
345 B
Desktop File
[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
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|