[Unit]
-Description=GitHub Action Runner
+Description=GitHub Action Runner (nutra-server) [deploy-dev]
[Service]
-User=shane
-WorkingDirectory=/home/shane/actions-runner
+User=sanic
+WorkingDirectory=/home/sanic/actions-runner
ExecStart=/bin/bash run.sh
Restart=always
+Environment="NTSERV_PSQL_PASSWORD=REDACTED"
[Install]
WantedBy=multi-user.target
Description=Nutra Server (Sanic / PostgreSQL)
[Service]
-User=shane
+User=sanic
ExecStart=/usr/bin/env python3 -m ntserv
Restart=always
-Environment="NTSERV_ENV=dev" "NTSERV_SERVER_HOST=https://deveast.linode.poczatek.dev" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=password" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret"
+Environment="NTSERV_ENV=dev" "NTSERV_SERVER_HOST=https://deveast.linode.poczatek.dev" "NTSERV_N_WORKERS=2" "NTSERV_PSQL_PASSWORD=REDACTED" "NTSERV_JWT_SECRET=secret" "NTSERV_PROXY_SECRET=secret"
[Install]
WantedBy=multi-user.target