mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 19:55:42 +02:00
Update to 2023-06-29 10:00
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
{% if squid_ufdb_update_from_univ %}
|
||||
/usr/bin/rsync -rzPq ftp.univ-tlse1.fr::blacklist/dest/ /var/ufdbguard/blacklists/
|
||||
/usr/bin/rsync -rzPq ftp.ut-capitole.fr::blacklist/dest/ /var/ufdbguard/blacklists/
|
||||
{% endif %}
|
||||
|
||||
find /var/ufdbguard/blacklists/ -mindepth 1 -maxdepth 1 -type d -exec basename "{}" \;| while read CATEGORY; do
|
||||
@@ -16,5 +16,5 @@ find /var/ufdbguard/blacklists/ -mindepth 1 -maxdepth 1 -type d -exec basename "
|
||||
eval $CMD 2>/dev/null
|
||||
fi
|
||||
done
|
||||
systemctl restart ufdb
|
||||
systemctl restart {{ squid_ufdb_unit.stat.exists | ternary('ufdbGuard','ufdb') }}
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user