summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-10-26 13:35:09 +0200
committerChristian Pointner <equinox@spreadspace.org>2012-10-26 13:35:09 +0200
commit8d1d08bea6c8c5caa33cbecdc7e43a1d59d79694 (patch)
tree5c42e3951db657448b1560cfe13e7c03efdcff82
parentadded elevate2 to ssh config (diff)
runit create script with lower
-rwxr-xr-xcontrib/hls/create-runit-conf.sh7
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"