[Rspamd] Slight changes to improve memory usage
[Web] Dirty hack to touch Rspamd maps a second time
This commit is contained in:
@@ -18,7 +18,6 @@ touch /etc/rspamd/rspamd.conf.local \
|
||||
|
||||
chmod 755 /var/lib/rspamd
|
||||
|
||||
addgroup --system --gid 82 www-access
|
||||
|
||||
[[ ! -f /etc/rspamd/override.d/worker-controller-password.inc ]] && echo '# Autogenerated by mailcow' > /etc/rspamd/override.d/worker-controller-password.inc
|
||||
|
||||
@@ -39,7 +38,6 @@ fi
|
||||
chown -R _rspamd:_rspamd /var/lib/rspamd \
|
||||
/etc/rspamd/local.d \
|
||||
/etc/rspamd/override.d \
|
||||
/etc/rspamd/custom \
|
||||
/etc/rspamd/rspamd.conf.local \
|
||||
/etc/rspamd/rspamd.conf.override \
|
||||
/etc/rspamd/plugins.d
|
||||
@@ -62,9 +60,9 @@ touch /etc/rspamd/custom/global_mime_from_blacklist.map \
|
||||
|
||||
# www-data (82) group needs to write to these files
|
||||
chown _rspamd:_rspamd /etc/rspamd/custom/
|
||||
chmod 0755 /etc/rspamd/custom/
|
||||
chown -R _rspamd:www-access /etc/rspamd/custom/*
|
||||
chmod -R 664 /etc/rspamd/custom/*
|
||||
chmod 0755 /etc/rspamd/custom/.
|
||||
chown -R 82:82 /etc/rspamd/custom/*
|
||||
chmod 644 -R /etc/rspamd/custom/*
|
||||
|
||||
# Run hooks
|
||||
for file in /hooks/*; do
|
||||
|
Reference in New Issue
Block a user