HL2DM systemd unit file

systemd unit file for Half Life 2 Deathmatch
Requires further configuration for
environment safety, isolation, instances

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
This commit is contained in:
Pratyush Desai 2024-11-03 03:58:18 +05:30
parent b02e8ee84e
commit fda43d1e9e
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD

12
dist/systemd/hl2dm.service vendored Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Half-Life 2 Deathmatch Server
After=network.target
[Service]
ExecStart=/opt/hl2dm/Steam/hl2dm/srcds_run -game hl2mp +sv_password bruh +mp_teamplay 1 +maxplayers 8 +map dm_runoff
WorkingDirectory=/opt/hl2dm/Steam/hl2dm
Restart=on-failure
User=hl2dm
[Install]
WantedBy=multi-user.target