From 2274a05b9c8b9a0b93e4c9396f9eb9eef5e15910 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 20 Oct 2010 03:40:49 +0200 Subject: [PATCH] Changed to installer --- Makefile | 2 ++ PLS | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 PLS diff --git a/Makefile b/Makefile index 862a78bd..a5319cdb 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ client-install: client cp -f ./Connector_RTMP/Connector_RTMP /usr/bin/ #cp -f ./Connector_RTSP/Connector_RTSP /usr/bin/ cp -f ./Buffer/Buffer /usr/bin/ + cp -f ./PLS /etc/xinetd.d/ + service xinetd restart client-local-install: client mkdir -p ./bin cp -f ./Connector_HTTP/Connector_HTTP ./bin/ diff --git a/PLS b/PLS new file mode 100644 index 00000000..df3d8807 --- /dev/null +++ b/PLS @@ -0,0 +1,23 @@ +service ddvtechhttp +{ + disable = no + type = UNLISTED + protocol = tcp + socket_type = stream + user = root + server = /usr/bin/Connector_HTTP + port = 7337 + wait = no +} + +service ddvtechrtmp +{ + disable = no + type = UNLISTED + protocol = tcp + socket_type = stream + user = root + server = /usr/bin/Connector_RTMP + port = 1935 + wait = no +}