summaryrefslogtreecommitdiff
path: root/contrib/runit/s5-nginx-lua/run
blob: c052cf649bcfff0d6e8689a23ddfaefc0d7d4e46 (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/ppipe" -n "$HOSTNAME" -u http://localhost/sfive -S "$STREAMER" -d 15