summarylogtreecommitdiffstats
path: root/systemd-assaultcube-server.service
diff options
context:
space:
mode:
authorPatrick Northon2021-12-05 05:32:54 -0500
committerPatrick Northon2021-12-05 05:32:54 -0500
commitcfb71500eaeadd572d038dc923d9507d03a7f6d8 (patch)
tree55afd7ef76f410bd7d5d7a2849fdeb4f9c0026bc /systemd-assaultcube-server.service
downloadaur-cfb71500eaeadd572d038dc923d9507d03a7f6d8.tar.gz
Initial commit.
Diffstat (limited to 'systemd-assaultcube-server.service')
-rw-r--r--systemd-assaultcube-server.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/systemd-assaultcube-server.service b/systemd-assaultcube-server.service
new file mode 100644
index 000000000000..ad321d8d3030
--- /dev/null
+++ b/systemd-assaultcube-server.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=AssaultCube server.
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+Type=simple
+User=assaultcube
+
+ExecStart=assaultcube-server
+
+ProtectHostname=true
+ProtectClock=true
+NoNewPrivileges=yes
+ProtectSystem=full
+
+[Install]
+WantedBy=multi-user.target