@ -6,8 +6,6 @@ chmod 755 /var/lib/rspamd
|
|||||||
|
|
||||||
mkdir -p /etc/rspamd/custom
|
mkdir -p /etc/rspamd/custom
|
||||||
|
|
||||||
chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/
|
|
||||||
|
|
||||||
# Fix missing default global maps, if any
|
# Fix missing default global maps, if any
|
||||||
# These exists in UI and should not be removed
|
# These exists in UI and should not be removed
|
||||||
touch /etc/rspamd/custom/global_mime_from_blacklist.map \
|
touch /etc/rspamd/custom/global_mime_from_blacklist.map \
|
||||||
@ -218,4 +216,6 @@ else
|
|||||||
rm -rf /etc/rspamd/custom/dqs-rbl.conf
|
rm -rf /etc/rspamd/custom/dqs-rbl.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
Reference in New Issue
Block a user