diff options
Diffstat (limited to 'contrib/hls/create-runit-conf.sh')
-rwxr-xr-x | contrib/hls/create-runit-conf.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/hls/create-runit-conf.sh b/contrib/hls/create-runit-conf.sh index 4d43282..18592db 100755 --- a/contrib/hls/create-runit-conf.sh +++ b/contrib/hls/create-runit-conf.sh @@ -1,5 +1,8 @@ #!/bin/sh +SOURCES="av-orig av-en" +PROFILES="lower low medium high" + if [ -z "$1" ]; then echo "Usage $0 <name>" exit 1 @@ -11,8 +14,8 @@ OUT_D=runit rm -rf "$OUT_D" mkdir -p "$OUT_D" -for src in av-orig av-en; do - for profile in low medium high; do +for src in $SOURCES; do + for profile in $PROFILES; do echo "creating runit instance for $src - $profile" DIR="$OUT_D/hls-$name-$src-$profile" mkdir -p "$DIR/log" |