packages/net/privoxy/files/privoxy.init
nico 57c6469df4 packages/privoxy: use new service functions
Signed-off-by: Peter Wagner <tripolar@gmx.at>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-15 03:40:56 +00:00

17 lines
248 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=50
STOP=50
SERVICE_USE_PID=1
start() {
service_start /usr/sbin/privoxy --pidfile /var/run/privoxy.pid \
/etc/privoxy/config
}
stop() {
service_stop /usr/sbin/privoxy
}