1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/unmaintained/tcpproxy/tcpproxy.initd
2018-11-07 09:54:35 +00:00

14 lines
228 B
Bash

#!/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 $?
}