From 8d1d08bea6c8c5caa33cbecdc7e43a1d59d79694 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 26 Oct 2012 13:35:09 +0200 Subject: runit create script with lower --- contrib/hls/create-runit-conf.sh | 7 +++++-- 1 file 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 " 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" -- cgit v1.2.3