diff options
Diffstat (limited to 'user/rspamd/rspamd.pre-install')
-rw-r--r-- | user/rspamd/rspamd.pre-install | 6 |
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 |