[Unit] Description=0G Nova Adventure - gateway After=network-online.target zerog-server.service Wants=network-online.target [Service] Type=simple User=@USER@ Group=@USER@ WorkingDirectory=@TARGET@/gateway # PROXY ONLY. No database settings are passed, so it cannot do authentication even by # accident - players sign in against the central account service, never against this. ExecStart=@TARGET@/gateway/ZeroGNovaAdventure.Gateway --bind 0.0.0.0 --port 8081 --gameserverhost 127.0.0.1 --gameserverport 25312 Restart=always RestartSec=10s NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=@TARGET@ Environment=DOTNET_BUNDLE_EXTRACT_BASE_DIR=@TARGET@/.bundle [Install] WantedBy=multi-user.target