|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
starting tor + polipo?
Sorry if I have to ask this here as I still have a restricted account.
I hope someone will help me figure out the difference between case1 and case2 and which is more correct : 1- Autostart tor+polipo by putting a line in /etc/rc.conf.local that reads : pkg_scripts="tor polipo" 2- Autostart the pair by putting lines in /etc/rc.local : #Start tor if [ -x /usr/local/bin/tor ]; then echo -n ' tor' /usr/local/bin/tor fi #Start Polipo if [ -x /usr/local/bin/polipo ]; then echo -n ' polipo' /usr/local/bin/polipo fi |
|
|||
The first method using the pkg_scripts variable is the modern way. This assumes that the ports or packages installed a script for /etc/rc.d
The second method, using scripts in /etc/rc.local is the "old" way. See http://www.openbsd.org/faq/faq10.html#rc
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
|
|
|||
Much thanks to you jggimi,j65nko for the clarification.
Code:
sabnzbd-0.7.0: ok --- +sabnzbd-0.7.0 ------------------- Start the sabnzbd daemon by /usr/local/bin/sabnzbd and do the initial configuration via http://localhost:8080/ and because of this I thought a line in polipo's conf : 'daemonise = true' would be invalid unless a polipo daemon existed in /etc/rc.d/ .. same thought for tor's torrc line : 'RunAsDeamon 1' Am I being wrong? |
|
||||
news/sabnzbd was added to the ports tree only 7 months ago, without an rc.d script. There was no discussion of the daemon on the ports@ mailing list. You might want to contact the $MAINTAINER as I recommended above. Port maintainers publish their Email addresses in the ports tree and are expected to receive and respond to queries from users. If you don't have the ports tree installed on your system, a web interface to the ports tree is managed by a third party (http://openports.se) and you can find the $MAINTAINER's name and Email address on this page: http://openports.se/bbmaint.php?maint=marcus|a|nazgul.ch
Quote:
Last edited by jggimi; 23rd January 2013 at 07:07 PM. Reason: typo, clarity |
|
|||
Thanks jggimi , for your help and helpfulness.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to make polipo proxy transparent? | Skinny | OpenBSD Packages and Ports | 6 | 5th December 2012 03:25 AM |
D Bus error while starting gnome | jewsofeast | OpenBSD Packages and Ports | 2 | 21st November 2010 05:37 AM |
vsftpd not starting | map7 | FreeBSD Ports and Packages | 1 | 10th June 2010 09:51 AM |
Samba NOT STARTING | pcfxer | FreeBSD General | 11 | 13th May 2008 09:29 AM |