KF2-SRV/SOURCES/kf2-srv@.service

22 lines
464 B
SYSTEMD
Raw Normal View History

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 22:50:08 +00:00
ExecStart=/usr/games/kf2-srv/Binaries/Win64/KFGameSteamServer.bin.x86_64 $Args configsubdir=instances/%i $PortW $PortQ $PortG
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