summaryrefslogtreecommitdiff
path: root/contrib/runit/s5-nginx-lua/run
blob: acc94d9d53752845d59bc7e9780b7b200c01faa8 (plain) (blame)
1
2
3
4
5
6
7
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