]> Nutra Git (v1) - nutratech/vps-root.git/commitdiff
update sudoers, and ntserv.service
authornutra-bot <nutradigest@gmail.com>
Sat, 2 Jul 2022 23:52:17 +0000 (23:52 +0000)
committernutra-bot <nutradigest@gmail.com>
Sat, 2 Jul 2022 23:52:17 +0000 (23:52 +0000)
etc/systemd/system/ntserv.service

index 3c275fb2891e4f8aba7e9f01d4fd52246bf54f32..502d9df4b16965af1294686b9e1a53f2dac0a686 100644 (file)
@@ -2,7 +2,7 @@
 Description=Nutra Server (Sanic / PostgreSQL)
 
 [Service]
-User=sanic
+User=github
 ExecStart=/usr/bin/env python3 -m ntserv
 Restart=always
 Environment="NTSERV_ENV=dev" "NTSERV_SERVER_HOST=https://dev.nutra.tk" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=REDACTED" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret"