<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — Proposal for Privoxy]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=157</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=157&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Proposal for Privoxy.]]></description>
		<lastBuildDate>Thu, 27 Dec 2018 18:59:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Proposal for Privoxy]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=728#p728</link>
			<description><![CDATA[<p>Hello together, while using <strong>Privoxy</strong> on homeserver under <strong>Hyperbola</strong> I&#039;ve tried to debug using the logfile. But within the concurrent init-script the daemon is not functional on that level and therefore no logfile is created. I&#039;ve changed the scripting and perhaps it could be helpful in the future (<em>file is /etc/init.d/privoxy</em>):</p><div class="codebox"><pre><code>#!/usr/bin/openrc-run
# Copyright 2017 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

description=&quot;Privoxy service&quot;
conffile=/etc/${SVCNAME}/config
pidfile=/run/${SVCNAME}.pid

depend() {
    need net
}

start() {
    if [ ! -f &quot;${conffile}&quot; ]; then
        eerror &quot;Configuration file ${conffile} not found!&quot;
        return 1
    fi

    ebegin &quot;Starting privoxy&quot;
    start-stop-daemon --start --quiet --exec /usr/bin/privoxy \
        --pidfile &quot;${pidfile}&quot; \
        -- \
        --pidfile &quot;${pidfile}&quot; \
        --user privoxy.privoxy &quot;${conffile}&quot;
    eend $?
}

stop() {
    ebegin &quot;Stopping privoxy&quot;
    start-stop-daemon --stop --quiet --pidfile &quot;${pidfile}&quot;
    eend $?
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Thu, 27 Dec 2018 18:59:37 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=728#p728</guid>
		</item>
	</channel>
</rss>
