summaryrefslogtreecommitdiffstats
path: root/extra/tcpproxy/tcpproxy.initd
blob: a7fd4292db1c4122da5a5cea1b9f10ccb5aab7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/runscript

DAEMON=/usr/sbin/tcpproxy
start() {
	ebegin "Starting tcpproxy"
	start-stop-daemon -S -x $DAEMON -- $TCPPROXY_OPTS
	eend $?
}

stop() {
	ebegin "Stopping tcpproxy"
	start-stop-daemon -K -x $DAEMON
	eend $?
}