diff options
author | Michael Mason <ms13sp@gmail.com> | 2009-03-18 14:47:57 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2009-03-18 14:47:57 +0000 |
commit | 6c50c29988fa9a879d86d28b7910647df428f693 (patch) | |
tree | be924c4e0841601a25b01394b9859b76bd414381 /extra/tcpproxy/tcpproxy.initd | |
parent | 28b0c2511507640f03349712dcb7f1eec85e7116 (diff) | |
download | aports-6c50c29988fa9a879d86d28b7910647df428f693.tar.bz2 aports-6c50c29988fa9a879d86d28b7910647df428f693.tar.xz |
Moving ctags and tcpproxy from testing
Diffstat (limited to 'extra/tcpproxy/tcpproxy.initd')
-rw-r--r-- | extra/tcpproxy/tcpproxy.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/tcpproxy/tcpproxy.initd b/extra/tcpproxy/tcpproxy.initd new file mode 100644 index 000000000..a7fd4292d --- /dev/null +++ b/extra/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 $? +} |