[SCM] crtmpserver/master: Add debian readme

jet-guest at users.alioth.debian.org jet-guest at users.alioth.debian.org
Thu May 5 10:29:52 UTC 2011


The following commit has been merged in the master branch:
commit aea7631c94ae610e4cb934f8ce20e99270133b6c
Author: Andriy Beregovenko <jet at jet.kiev.ua>
Date:   Thu May 5 13:25:03 2011 +0300

    Add debian readme
    
    It describes how to set crtmpserver as system service

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..3107e90
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,78 @@
+crtmpserver for Debian
+======================
+
+Introduction
+------------
+The crtmpserver can provide powerful platform for processing several families
+of media streaming protocols. By default it support next protocol families:
+RTMP, RTSP, RTP/RTCP, MPEG-TS
+
+
+0. Post install configuration
+-----------------------------
+To complete installation as a system service, we need to do a few more steps:
+ 1. Create system wide daemon user
+ 2. Create directories for logs and configuration
+ 3. Add init.d script and daemon start defaults file
+ 4. Add basic daemon configuration
+ 5. Running daemon
+
+
+1. Create system wide daemon user
+---------------------------------
+ You must add system user for daemon. Something like this:
+adduser --system --disabled-login --ingroup adm --home /var/lib/crtmpserver \
+        --gecos crtmpserver --shell /bin/false crtmpserver
+
+
+2. Create directories for logs and configuration
+------------------------------------------------
+ Need to create next directories:
+/etc/crtmpserver
+/var/log/crtmpserver
+
+Note:
+Since daemon initialize log file BEFORE privileges will be reduced, no need
+to change owner to user "crtmpserver" for this dirs.
+
+
+3. Add init.d script and daemon start defaults file
+---------------------------------------------------
+ Example(and working) init.d script is placed in:
+/usr/share/doc/crtmpserver/examples/crtmpserver.init
+Also there is "defaults" file:
+/usr/share/doc/crtmpserver/examples/crtmpserver.default
+To enable daemon starting just do next(using root previlegies):
+
+Copy init script:
+ cp /usr/share/doc/crtmpserver/examples/crtmpserver.init \
+    /etc/init.d/crtmpserver
+
+Copy default file:
+ cp /usr/share/doc/crtmpserver/examples/crtmpserver.default \
+    /etc/default/crtmpserver
+
+Install rc.d links:
+ update-rc.d crtmpserver start 90 2 3 5 . stop 10 2 3 5
+
+
+4. Add basic daemon configuration
+---------------------------------
+ Sample configuration file is placed in:
+/usr/share/doc/crtmpserver/examples/crtmpserver.lua.gz
+
+To set this file as configuration do next:
+
+Copy it:
+ cp /usr/share/doc/crtmpserver/examples/crtmpserver.lua.gz \
+    /etc/crtmpserver
+
+Extract it:
+ cd /etc/crtmpserver ; gunzip crtmpserver.lua.gz
+
+
+5. Running daemon
+-----------------
+ After all steps described above just do next:
+/etc/init.d/crtmpserver star
+
diff --git a/debian/crtmpserver.docs b/debian/crtmpserver.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/crtmpserver.docs
@@ -0,0 +1 @@
+debian/README.Debian

-- 
crtmpserver packaging



More information about the pkg-multimedia-commits mailing list