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