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