summaryrefslogtreecommitdiff
path: root/user/rspamd/rspamd.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-09-19 00:12:16 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-09-19 00:12:16 +0000
commite3f26bf874e5f494ada4aa91b33031b6adcbe46f (patch)
tree9fc4f3a86b4977e25ffa0f12a714f4ba01e9f61e /user/rspamd/rspamd.pre-install
parentcc24acfe4ce7c33801aeb362c8ac13ccf2dac2b4 (diff)
parentcdd03f807a0d8346bc0fe7d1187ee0befe356624 (diff)
downloadpackages-e3f26bf874e5f494ada4aa91b33031b6adcbe46f.tar.gz
packages-e3f26bf874e5f494ada4aa91b33031b6adcbe46f.tar.bz2
packages-e3f26bf874e5f494ada4aa91b33031b6adcbe46f.tar.xz
packages-e3f26bf874e5f494ada4aa91b33031b6adcbe46f.zip
Merge branch 'user/rspamd' into 'master'
user/rspamd: import from Alpine, disable JIT, and use lua5.3 See merge request adelie/packages!494
Diffstat (limited to 'user/rspamd/rspamd.pre-install')
-rw-r--r--user/rspamd/rspamd.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/rspamd/rspamd.pre-install b/user/rspamd/rspamd.pre-install
new file mode 100644
index 000000000..b2f35bdd8
--- /dev/null
+++ b/user/rspamd/rspamd.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+groupadd -r rspamd 2>/dev/null
+useradd -r -d /var/lib/rspamd -s /sbin/nologin -G rspamd -g rspamd rspamd 2>/dev/null
+
+exit 0