From 1987a3fbef49369ecb5b4ee4976f923d54d69232 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 5 Apr 2023 12:54:52 +0200 Subject: [PATCH] added install section to service --- upfast.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upfast.service b/upfast.service index c2843d1..4c860ec 100644 --- a/upfast.service +++ b/upfast.service @@ -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