Starting privoxy+ipv6 at boot

2009-01-25 Thread beni
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 :
r...@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
r...@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 :
r...@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
r...@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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Starting privoxy+ipv6 at boot

2009-01-25 Thread Wojciech Puchar


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 :
r...@bsdaddict# dmesg -a | grep privoxy
/etc/rc: WARNING: run_rc_command: cannot run %%PREFIX%%/sbin/privoxy
r...@bsdaddict#


please do sent-pr for ports.
it's bug in port system IMHO, %%PREFIX%% wasn't replaced at build time.


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