Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 22:00:47 +0100
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: dansguardian at boot time. +gateway server
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCB01118D@w2003s01.double-l.local>
References:  <3120c9e30711270757s649af28bj8d695cf7ccc2a1a3@mail.gmail.com> <474C7B7E.5040805@foster.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
You can also edit the file /usr/local/etc/rc.d/dansquardian and add =
squid to the require line like so
=20
# PROVIDE: dansguardian
# REQUIRE: NETWORKING SERVERS squid
# KEYWORD: shutdown

that should start squid before dansquardian.
at least in my case it does
=20
regards,
Johan Hendriks

________________________________

Van: owner-freebsd-questions@freebsd.org namens Mark D. Foster
Verzonden: di 27-11-2007 21:18
Aan: ????
CC: freebsd-questions@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=3D"YES"
> dansguardian_enable=3D"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.
> =20
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@foster.cc>  http://mark.foster.cc/

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCB01118D>