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

index 8a329b40da01a64b49d46d48c0fa58d8ef23b67b..9949f1535e60adbad62eb6cfad4ec8b8afd753f1 100644 (file)
@@ -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