aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gmid/gmid.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gmid/gmid.pre-install')
-rw-r--r--testing/gmid/gmid.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/gmid/gmid.pre-install b/testing/gmid/gmid.pre-install
new file mode 100644
index 00000000000..dd6fb433420
--- /dev/null
+++ b/testing/gmid/gmid.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+addgroup -S gmid 2>/dev/null
+adduser -S -D -H -h /var/lib/gmid -s /sbin/nologin -G gmid -g gmid gmid 2>/dev/null
+mkdir -p /var/gemini/localhost /etc/ssl/gmid
+exit 0
+