Files
gentoo-zh/net-proxy/wallproxy-plus/files/wallproxy.init
T
Yichao Zhou c7bd4507a5 net-proxy/wallproxy-plus: new ebuilds
Add ebuilds for wallproxy-plus: New version of wallproxy, a general purpose
proxy framework in Python.  It is similar to goagent.
2013-07-16 13:20:26 +08:00

25 lines
557 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
need localmount
after bootmisc
}
start() {
ebegin "Starting wallproxy"
start-stop-daemon --start --quiet --exec "/usr/bin/wallproxy" \
--background -m --pidfile "/var/run/wallproxy.pid"
eend "$?"
}
stop() {
ebegin "Stoping wallproxy"
start-stop-daemon --stop --quiet --exec "/usr/bin/wallproxy" \
--pidfile "/var/run/wallproxy.pid"
eend "$?"
}