diff --git a/debian/q3rcon-proxy.service b/debian/q3rcon-proxy.service new file mode 100644 index 0000000..ca48a5a --- /dev/null +++ b/debian/q3rcon-proxy.service @@ -0,0 +1,18 @@ +[Unit] +Description=Q3Rcon Proxy Service +Wants=network.target +After=network.target + +[Service] +Type=simple +User=gameservers +Environment="Q3RCON_PROXY=20000:28960;20001:28961;20002:28962" +Environment="Q3RCON_HOST=0.0.0.0" +Environment="Q3RCON_DEBUG=0" + +ExecStart=/usr/local/bin/q3rcon-proxy +Restart=always +RestartSec=3 + +[Install] +WantedBy=multi-user.target \ No newline at end of file