2020-07-08 22:25:08 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Killing Floor 2 Server Daemon - %i
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=steam
|
|
|
|
Group=steam
|
|
|
|
Type=simple
|
|
|
|
StandardOutput=null
|
|
|
|
StandardError=null
|
|
|
|
EnvironmentFile=/etc/kf2-srv/instances/%i/main.conf
|
2020-07-08 23:02:30 +00:00
|
|
|
ExecStart=/usr/games/kf2-srv/Binaries/Win64/KFGameSteamServer.bin.x86_64 ${Map}?Difficulty=${Difficulty}?GameLength=${Length}?Game=${Game}?Mutator=${Mutators}?${Args} configsubdir=instances/%i -webadminport=${PortWeb} -queryport=${PortQuery} -port=${PortGame}
|
2020-07-08 22:25:08 +00:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
PrivateTmp=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectSystem=false
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|