diff options
author | Michael Mason <ms13sp@gmail.com> | 2009-03-10 20:37:00 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2009-03-10 20:37:00 +0000 |
commit | 8279802efddeaad8939fce9b0f92296bab912bc4 (patch) | |
tree | 4600bb5fb878a4a45f3d274fadcd15aeb1b6ea52 /testing/tcpproxy/tcpproxy.initd | |
parent | af501c435be20a086fb7e2eca80c9825e312d3cf (diff) |
testing/tcpproxy
testing/ctags
Adding needed package tcpproxy
ctags needed to build tcpproxy
Diffstat (limited to 'testing/tcpproxy/tcpproxy.initd')
-rw-r--r-- | testing/tcpproxy/tcpproxy.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/tcpproxy/tcpproxy.initd b/testing/tcpproxy/tcpproxy.initd new file mode 100644 index 00000000000..a7fd4292db1 --- /dev/null +++ b/testing/tcpproxy/tcpproxy.initd @@ -0,0 +1,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 $? +} |