#!/sbin/runscript # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need net } start() { ebegin "Starting Polipo HTTP proxy" if [ ! -f "/etc/conf.d/polipo" ]; then eerror "Unable to read configuration file: /etc/conf.d/polipo" return 1 fi start-stop-daemon --start --quiet --exec /usr/bin/polipo \ -- -c /etc/conf.d/polipo eend $? You need to edit your config file in /etc/conf.d/polipo } stop() { ebegin "Stopping Polipo HTTP proxy" start-stop-daemon --stop --quiet --pidfile /var/run/polipo.pid eend $? } # vim:ts=4