fhl-server-configs/freehl-tfc.service

22 lines
474 B
SYSTEMD
Raw Normal View History

2023-11-18 17:53:08 +00:00
[Unit]
Description=FreeHL-TFC
[Service]
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure
; You want to adjust these for your user, this example assumes debian
User=debian
Environment="HOME=/home/debian"
WorkingDirectory=/home/debian/halflife/
ExecStart=/home/debian/halflife/fteqw-sv64 -halflife -game tfc
PrivateTmp=true
ProtectHome=false
ProtectSystem=full
PrivateDevices=false
CapabilityBoundingSet=~CAP_SYS_ADMIN
[Install]
WantedBy=multi-user.target