Update to 2020-11-26 11:00

master
Daniel Berteaud 4 years ago
parent b0d05657b8
commit 6faf392d9a
  1. 4
      roles/squid/handlers/main.yml
  2. 2
      roles/squid/templates/ufdb_update.sh.j2

@ -17,7 +17,7 @@
- name: update ufdb
command: /usr/local/bin/ufdb_update.sh
notify: reload ufdb
notify: restart ufdb
- name: reload ufdb
- name: restart ufdb
service: name={{ squid_ufdb_unit.stat.exists | ternary('ufdbGuard','ufdb') }} state={{ squid_filter_url | ternary('reloaded', 'stopped') }}

@ -16,5 +16,5 @@ find /var/ufdbguard/blacklists/ -mindepth 1 -maxdepth 1 -type d -exec basename "
eval $CMD 2>/dev/null
fi
done
systemctl reload ufdb
systemctl restart ufdb
exit 0

Loading…
Cancel
Save