]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
add user to service, oops
authornutra-bot <nutradigest@gmail.com>
Mon, 27 Jun 2022 07:52:36 +0000 (07:52 +0000)
committernutra-bot <nutradigest@gmail.com>
Mon, 27 Jun 2022 07:52:36 +0000 (07:52 +0000)
etc/systemd/system/ntserv.service

index 54877e67952e5cb808ebbb4252aa0d6e431e86f7..8a329b40da01a64b49d46d48c0fa58d8ef23b67b 100644 (file)
@@ -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"