aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/go_live.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/go_live.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/go_live.sh b/scripts/go_live.sh
new file mode 100755
index 0000000..21d7072
--- /dev/null
+++ b/scripts/go_live.sh
@@ -0,0 +1,12 @@
1#!/bin/bash
2
3OSPATH="/opt/opensim"
4
5for i in $(seq 99)
6do
7 j=$(printf "sim%02d" $i)
8 if [ -e "$OSPATH/config/$j" ]
9 then
10 sudo ln -s $OSPATH/config/$j/opensim-monit.conf /etc/monit/conf.d/$j.conf
11 fi
12done