Compare commits

...

1 Commits

Author SHA1 Message Date
fda43d1e9e
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>
2024-11-03 03:58:18 +05:30

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