Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 10:41:12 +0100
From:      beni <beni@brinckman.info>
To:        freebsd-questions@freebsd.org
Subject:   Starting privoxy+ipv6 at boot
Message-ID:  <200901251041.12678.beni@brinckman.info>

next in thread | raw e-mail | index | archive | help
Hi List,

I installed www/privoxy+ipv6, the patched privoxy for ipv6. It installs fine 
but I have to start it everytime manually at boot.

I added this to /etc/rc.conf :
privoxy_enable="YES"
privoxy_flags="/usr/local/etc/privoxy/config"

Since there is no startup script provided, I copied the one (privoxy.in) from 
www/privoxy/files to my /usr/local/etc/rc.d :
root@bsdaddict# ls -l /usr/local/etc/rc.d/privoxy*
-rwxr-xr-x  1 root  wheel  1497 20 jan 21:41 /usr/local/etc/rc.d/privoxy
root@bsdaddict#

I tried renaming it to "privoxy.sh" and "privoxy" (without any extension) but 
nothing seems to work. All I get is this error message in dmesg :
root@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
root@bsdaddict#

Starting privoxy manually is no problem, everything works as it should.

So how do I launch privoxy at boot ? Thanks for any help.
 
Beni Brinckman.



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