[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [ok-mail] [K12OSN] weird squidguard problem
- From: Ascension Tech <ascensiontech gmail com>
- To: Adam Melancon <adammelancon gmail com>, "Support list for opensource software in schools." <k12osn redhat com>
- Cc:
- Subject: Re: [ok-mail] [K12OSN] weird squidguard problem
- Date: Thu, 7 Apr 2005 04:10:26 -0400
Thanks Adam, I came up the same solution. And thanks so much for the
Vermillion Squidguard site. I never would have got it working
otherwise. You rock!
Peter
On Apr 6, 2005 12:21 PM, Adam Melancon <adammelancon gmail com> wrote:
> I tweaked this script to only rebuild my custom allow/deny files,
> which makes things faster than running the updateblacklist script.
>
> You can tweak it to suit the names of the files you are using.
>
> [root ltsp40 root]# cat rebuildallowdeny.sh
> #!/bin/bash
>
> #rebuild the custom databases
> /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf -C
> local-denied.destdomainlist
> /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf -C local-allowed.desturllist
> /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf -C local-denied.desturllist
> /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf -C
> local-allowed.destdomainlist
>
> #change permissions back to squid
> chown -R squid.squid /var/squidGuard/blacklists/
> chown -R squid.squid /var/log/squidGuard/
>
> sleep 5s
>
> #restart squid and squidguard
> /usr/bin/killall -HUP squid
> sleep 5s
>
> #show me the last 80 lines of the log to make sure it started correctly
> tail -n 80 /var/log/squidGuard/squidGuard.log
>
> [root ltsp40 root]#
>
> Enjoy!
>
> --
> Adam Melancon
> Work: http://www.vermilion.lib.la.us
> Personal: http://www.melancon.org
>
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]