[Rspamd] Ignore custom files, but keep bad asn map

This commit is contained in:
André 2018-09-30 18:55:35 +02:00
parent 71ec81db31
commit d7ca5579dc
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -21,4 +21,4 @@ data/conf/nginx/*.conf
data/conf/nginx/*.custom
data/conf/nginx/*.bak
data/conf/dovecot/extra.conf
data/conf/rspamd/custom/sa-rules-heinlein
data/conf/rspamd/custom/*

View File

@ -1,6 +1,6 @@
#!/bin/bash
chown -R _rspamd:_rspamd /var/lib/rspamd
chown -R _rspamd:_rspamd /var/lib/rspamd /etc/rspamd/local.d /etc/rspamd/override.d /etc/rspamd/custom
chmod 755 /var/lib/rspamd
[[ ! -f /etc/rspamd/override.d/worker-controller-password.inc ]] && echo '# Placeholder' > /etc/rspamd/override.d/worker-controller-password.inc
chown _rspamd:_rspamd /etc/rspamd/override.d/worker-controller-password.inc