From owner-freebsd-questions@FreeBSD.ORG Sun Mar 26 11:17:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13D2E16A400 for ; Sun, 26 Mar 2006 11:17:01 +0000 (UTC) (envelope-from freebsd-questions@voidcaptain.com) Received: from mx4.x15.net (mx4.x15.net [69.55.237.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6BE343D45 for ; Sun, 26 Mar 2006 11:17:00 +0000 (GMT) (envelope-from freebsd-questions@voidcaptain.com) Received: from j1.x15.net [63.196.213.76] by mx4.x15.net with ESMTP id 603050111X1FNTEy000JN3JN; Sun, 26 Mar 2006 11:17:00 +0000 Message-ID: <4426780D.7090108@voidcaptain.com> Date: Sun, 26 Mar 2006 03:16:29 -0800 From: Pete Slagle MIME-Version: 1.0 To: Oliver Iberien References: <200603260056.13520.oliver.iberien@charter.net> In-Reply-To: <200603260056.13520.oliver.iberien@charter.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Starting privoxy at startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 11:17:01 -0000 Oliver Iberien wrote: > I can start privoxy manually with > /usr/local/sbin/privoxy /usr/local/etc/privoxy/config > > I added this to /etc/rc.conf: > privoxy_enable="YES" > privoxy_flags="/usr/local/etc/privoxy/config" > > but that does not seem to do it. I tried putting a link in /etc/rc.d/ to the > privoxy.sh in /usr/local/etc/rc.d, but that didn't do it, either. How do I > get it to start? When I installed privoxy from ports a shell script was placed in /usr/local/etc/rc.d, which does the job. Mine is mode 555. I'll e-mail you a copy if you want. I wouldn't link from /etc/rc.d -- bad mojo. I put the following two variables in /etc/rc.conf, and privoxy finds it's configuration files in the directory /usr/local/etc/privoxy/ without any help. There is more than one configuration file, and they are substantially self documenting. privoxy_enable="YES" privoxy_flags="-- user privoxy"