dansguardian at boot time. +gateway server
Johan Hendriks
Johan at double-l.nl
Tue Nov 27 13:01:13 PST 2007
You can also edit the file /usr/local/etc/rc.d/dansquardian and add squid to the require line like so
# PROVIDE: dansguardian
# REQUIRE: NETWORKING SERVERS squid
# KEYWORD: shutdown
that should start squid before dansquardian.
at least in my case it does
regards,
Johan Hendriks
________________________________
Van: owner-freebsd-questions at freebsd.org namens Mark D. Foster
Verzonden: di 27-11-2007 21:18
Aan: ????
CC: freebsd-questions at freebsd.org
Onderwerp: Re: dansguardian at boot time. +gateway server
???? wrote:
> Hello
> I installed dansguardian , gave it's entry in my /etc/rc.conf
> squid_enable="YES"
> dansguardian_enable="YES"
>
> I am getting error at the boot time dansguardian couldn't connected to
> parent proxy. Whereas squid starts without error.
> I am running squid over port 3121 and dansguardian on port 8080.
>
> After logging in and giving command "dansguardian" it starts without any error.
>
Had a similar problem with dansguardian & tinyproxy, they start in the
wrong order.
So...
rename /usr/local/etc/rc.d/squid.sh to 01_squid.sh
rename /usr/local/etc/rc.d/dansguardian.sh to 02_dansguardian.sh
You might need to add "sleep 5" into 02_dansguardian.sh to give squid.sh
time to finish starting up.
--
Said one park ranger, 'There is considerable overlap between the
intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP <mark at foster.cc> http://mark.foster.cc/
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list