Monitor last lines of Webproxy log journalctl --no-hostname --boot --follow --unit squid.service Monitor the last lines of the Webproxy access log if [ -f /var/log/squid/access.log ]; then sudo tail --follow=name /var/log/squid/access.log; else echo "WebProxy access-log does not exist"; fi Monitor the last lines of the Webproxy cache log if [ -f /var/log/squid/cache.log ]; then sudo tail --follow=name /var/log/squid/cache.log; else echo "WebProxy cache-log does not exist"; fi Restart WebProxy service if cli-shell-api existsActive service webproxy; then sudo systemctl restart squid.service; else echo "Service WebProxy not configured"; fi Show WebProxy information Show webproxy blacklist information Show webproxy blacklist categories ${vyos_completion_dir}/list_webproxy_category.sh Show contents of WebProxy access log if [ -e /var/log/squid/access.log ]; then sudo less $_vyatta_less_options --prompt="file %i of %m, page %dt of %D" -- `printf "%s\n" /var/log/squid/access.log* | sort -nr`; else echo "No WebProxy log"; fi Show update log for url-filter database if [ -e /opt/vyatta/etc/config/url-filtering/squidguard/updatestatus ]; then cat /opt/vyatta/etc/config/url-filtering/squidguard/updatestatus; else echo "Update log not found"; fi Update WebProxy Update the webproxy blacklist database sudo ${vyos_op_scripts_dir}/webproxy_update_blacklist.sh --update-blacklist Update webproxy blacklist database via specified VRF vrf name sudo ${vyos_op_scripts_dir}/webproxy_update_blacklist.sh --update-blacklist --vrf "${5}"