added install section to service
This commit is contained in:
parent
fb7b89a101
commit
1987a3fbef
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue