aboutsummaryrefslogtreecommitdiffstats
path: root/main/minetest/minetest-server.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/minetest/minetest-server.pre-install')
-rw-r--r--main/minetest/minetest-server.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/minetest/minetest-server.pre-install b/main/minetest/minetest-server.pre-install
new file mode 100644
index 0000000000..f995e427d6
--- /dev/null
+++ b/main/minetest/minetest-server.pre-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+adduser -s /sbin/nologin -D -h /var/lib/minetest minetest games 2>/dev/null
+exit 0