diff --git a/Stable2.0/docker-entrypoint.sh b/Stable2.0/docker-entrypoint.sh index d0419c7..8f37f6d 100644 --- a/Stable2.0/docker-entrypoint.sh +++ b/Stable2.0/docker-entrypoint.sh @@ -6,8 +6,6 @@ chmod 755 /var/lib/rspamd mkdir -p /etc/rspamd/custom -chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/ - # Fix missing default global maps, if any # These exists in UI and should not be removed touch /etc/rspamd/custom/global_mime_from_blacklist.map \ @@ -218,4 +216,6 @@ else rm -rf /etc/rspamd/custom/dqs-rbl.conf fi +chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/ + exec "$@" \ No newline at end of file