exit -1
fi
-cd "$BASEPATH/stg/projects/stargazer"
-./build debug
-make clean
-make
-
-cd "$BASEPATH/stg/projects/sgconf"
-./build debug
-make clean
+cd "$BASEPATH/stg"
+mkdir build
+cd build
+cmake -DBUILD_STG=ON -DBUILD_SGCONF=ON ..
make
PidFile = -STG-PATH-/stargazer.pid
LogFile = -STG-PATH-/stargazer.log
Rules = -STG-PATH-/rules
-ModulesPath = -STG-PATH-/modules
+ModulesPath = -STG-PATH-/plugins
DetailStatWritePeriod=1/6
StatWritePeriod = 10
DayFee = 1
exit -1
fi
-STGPATH="$BASEPATH/stg/projects/stargazer"
+STGPATH="$BASEPATH/stg/build/stargazer"
cp "stuff/stargazer-files.conf" "$STGPATH/stargazer.conf"
cp "stuff/rules" "$STGPATH/"
BASEPATH=$1
-SGCONFPATH="$BASEPATH/stg/projects/sgconf"
+SGCONFPATH="$BASEPATH/stg/build/sgconf"
printf "Check initial admin list... "
BASEPATH=$1
-SGCONFPATH="$BASEPATH/stg/projects/sgconf"
+SGCONFPATH="$BASEPATH/stg/build/sgconf"
printf "Check server info... "
BASEPATH=$1
-SGCONFPATH="$BASEPATH/stg/projects/sgconf"
+SGCONFPATH="$BASEPATH/stg/build/sgconf"
printf "Check initial service list... "