aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/tcpproxy/tcpproxy.initd
blob: b3101c61dc397ffcf840ec063d74dd8141104c37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run

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 $?
}