summaryrefslogtreecommitdiff
path: root/contrib/runit/s5-nginx-lua/run
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/runit/s5-nginx-lua/run')
-rwxr-xr-xcontrib/runit/s5-nginx-lua/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/runit/s5-nginx-lua/run b/contrib/runit/s5-nginx-lua/run
new file mode 100755
index 0000000..acc94d9
--- /dev/null
+++ b/contrib/runit/s5-nginx-lua/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+exec 2>&1
+RUN_D="/var/run/sfive"
+HOSTNAME="streamer-pub1"
+STREAMER="av-dt,av-en/hls,dash/mini,low,medium,high"
+exec chpst -u sfive:sfive /usr/bin/s5-nginx-lua-fetch -s "$RUN_D"/pipe -n "$HOSTNAME" -u http://localhost/sfive -S "$STREAMER" -d 15