From: nutra-bot Date: Sat, 2 Jul 2022 23:52:17 +0000 (+0000) Subject: update sudoers, and ntserv.service X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=0ae030e593a93d6d45b8b295a9c9b215707a74bd;p=nutratech%2Fvps-root.git update sudoers, and ntserv.service --- diff --git a/etc/systemd/system/ntserv.service b/etc/systemd/system/ntserv.service index 3c275fb..502d9df 100644 --- a/etc/systemd/system/ntserv.service +++ b/etc/systemd/system/ntserv.service @@ -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"