1

Topic: Proposal for Privoxy

Hello together, while using Privoxy on homeserver under Hyperbola I'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've changed the scripting and perhaps it could be helpful in the future (file is /etc/init.d/privoxy):

#!/usr/bin/openrc-run
# Copyright 2017 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

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

depend() {
    need net
}

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

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

stop() {
    ebegin "Stopping privoxy"
    start-stop-daemon --stop --quiet --pidfile "${pidfile}"
    eend $?
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!