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:
parent
b02e8ee84e
commit
fda43d1e9e
12
dist/systemd/hl2dm.service
vendored
Normal file
12
dist/systemd/hl2dm.service
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user