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

25 lines
705 B
SYSTEMD
Raw Normal View History

2020-07-08 22:25:08 +00:00
[Unit]
Description=Killing Floor 2 Server Daemon - %i
After=network-online.target
Wants=network-online.target
2020-07-08 22:25:08 +00:00
[Service]
User=steam
Group=steam
Type=simple
2020-07-08 23:06:14 +00:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=kf2-srv/%i
2020-07-13 02:04:36 +00:00
EnvironmentFile=/etc/kf2-srv/instances/%i/instance.conf
ExecStart=:DEFINE_PREFIX:/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}
2021-02-22 09:57:13 +00:00
Restart=on-failure
2020-07-08 22:25:08 +00:00
NoNewPrivileges=yes
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=false
[Install]
WantedBy=multi-user.target