diff --git a/dist/systemd/hl2dm.service b/dist/systemd/hl2dm.service new file mode 100644 index 0000000..8f0a7a7 --- /dev/null +++ b/dist/systemd/hl2dm.service @@ -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 \ No newline at end of file