aboutsummaryrefslogtreecommitdiffstats
path: root/community/minetest/minetest-server.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/minetest/minetest-server.pre-install')
-rw-r--r--community/minetest/minetest-server.pre-install3
1 files changed, 3 insertions, 0 deletions
diff --git a/community/minetest/minetest-server.pre-install b/community/minetest/minetest-server.pre-install
new file mode 100644
index 0000000000..f995e427d6
--- /dev/null
+++ b/community/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