add example debian unit file

This commit is contained in:
onyx-and-iris 2024-03-24 12:31:04 +00:00
parent ab548d669a
commit 5ac3f805e2

18
debian/q3rcon-proxy.service vendored Normal file
View File

@ -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