[Bug 427625] Re: privoxy not start at boot - karmic

CPKS c.1 at smithies.org
Fri Nov 6 16:58:13 UTC 2009


Further workaround suggestions: rename /etc/rc2.d/S?0privoxy to /etc/rc2.d/S99privoxy. If even that doesn't work, then edit /etc/init.d/privoxy and replace the do_start function with the following:
((begins))
do_start()
{
	# Return
	#   0 if daemon has been started
	#   1 if daemon was already running
	#   2 if daemon could not be started
	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
		|| return 1
	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
		$DAEMON_ARGS \
		&& return 0
	# Add code here, if necessary, that waits for the process to be ready
	# to handle requests from services started subsequently which depend
	# on this one.  As a last resort, sleep for some time.
        sleep 1
	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
		$DAEMON_ARGS \
		|| return 2
}
((ends))

Not pretty, but it worked for me.

-- 
privoxy not start at boot - karmic
https://bugs.launchpad.net/bugs/427625
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list