aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/go_live.sh
blob: 21d70729d153772163f2260c2d5e1a82b59c02ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

OSPATH="/opt/opensim"

for i in $(seq 99)
do
    j=$(printf "sim%02d" $i)
    if [ -e "$OSPATH/config/$j" ]
    then
	sudo ln -s $OSPATH/config/$j/opensim-monit.conf /etc/monit/conf.d/$j.conf
    fi
done