From: nutra-bot Date: Mon, 27 Jun 2022 22:47:36 +0000 (+0000) Subject: add host var to ntserv.service X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=0068d20e7e6824e4450e45e3d0beb97a96242d1b;p=nutratech%2Fvps-root.git add host var to ntserv.service --- diff --git a/etc/systemd/system/ntserv.service b/etc/systemd/system/ntserv.service index 8a329b4..9949f15 100644 --- a/etc/systemd/system/ntserv.service +++ b/etc/systemd/system/ntserv.service @@ -5,7 +5,7 @@ Description=Nutra Server (Sanic / PostgreSQL) 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" +Environment="NTSERV_ENV=dev" "NTSERV_SERVER_HOST=deveast.linode.poczatek.dev" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=password" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret" [Install] WantedBy=multi-user.target