added install section to service

This commit is contained in:
Raymaekers Luca 2023-04-05 12:54:52 +02:00
parent fb7b89a101
commit 1987a3fbef

View File

@ -8,3 +8,6 @@ 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