summaryrefslogtreecommitdiffstats
path: root/systemd-service/CRSM.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-service/CRSM.service')
-rw-r--r--systemd-service/CRSM.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/systemd-service/CRSM.service b/systemd-service/CRSM.service
new file mode 100644
index 0000000..882bd3d
--- /dev/null
+++ b/systemd-service/CRSM.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=A Server Manager for Clonk Rage
+After=network.target
+
+[Service]
+User=clonk
+Group=clonk
+WorkingDirectory=/opt/clonk/
+ExecStart=/opt/clonk/CrServerManager
+ExecReload=/opt/clonk/reload-CRSM
+ExecStop=/opt/clonk/stop-CRSM
+KillMode=process
+Restart=on-abort
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target