22 lines
479 B
SYSTEMD
22 lines
479 B
SYSTEMD
|
[Unit]
|
||
|
Description=Killing Floor 2 Beta Server Daemon - %i
|
||
|
|
||
|
[Service]
|
||
|
User=steam
|
||
|
Group=steam
|
||
|
Type=simple
|
||
|
StandardOutput=null
|
||
|
StandardError=null
|
||
|
EnvironmentFile=/etc/kf2-srv/instances-beta/%i/main.conf
|
||
|
ExecStart=/usr/games/kf2-srv-beta/Binaries/Win64/KFGameSteamServer.bin.x86_64 $Args configsubdir=instances/%i $PortW $PortQ $PortG
|
||
|
Restart=always
|
||
|
|
||
|
NoNewPrivileges=yes
|
||
|
PrivateTmp=true
|
||
|
PrivateDevices=true
|
||
|
ProtectHome=true
|
||
|
ProtectSystem=false
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|