From: nutra-bot Date: Mon, 27 Jun 2022 07:33:24 +0000 (+0000) Subject: add ntservice.service to root, track /etc/sudoers X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=b8fd1b9c797e361ec3c31fefbc9d42efd6a7db52;p=nutratech%2Fvps-root.git add ntservice.service to root, track /etc/sudoers --- diff --git a/etc/systemd/system/ntserv.service b/etc/systemd/system/ntserv.service index 7b0dfb5..54877e6 100644 --- a/etc/systemd/system/ntserv.service +++ b/etc/systemd/system/ntserv.service @@ -2,10 +2,9 @@ Description=Nutra Server (Sanic / PostgreSQL) [Service] -User=shane ExecStart=/usr/bin/env python3 -m ntserv Restart=always -Environment="NTSERV_ENV=prod" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=REDACTED" "NTSERV_JWT_SECRET=REDACTED" "NTSERV_PROXY_SECRET=REDACTED" +Environment="NTSERV_ENV=dev" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=password" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret" [Install] WantedBy=multi-user.target