From: nutra-bot Date: Mon, 27 Jun 2022 07:52:36 +0000 (+0000) Subject: add user to service, oops X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=a06520d951e5ffff180f1e9dc22ce5e8db5a3bad;p=nutratech%2Fvps-root.git add user to service, oops --- diff --git a/etc/systemd/system/ntserv.service b/etc/systemd/system/ntserv.service index 54877e6..8a329b4 100644 --- a/etc/systemd/system/ntserv.service +++ b/etc/systemd/system/ntserv.service @@ -2,6 +2,7 @@ Description=Nutra Server (Sanic / PostgreSQL) [Service] +User=shane ExecStart=/usr/bin/env python3 -m ntserv Restart=always Environment="NTSERV_ENV=dev" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=password" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret"