CC-2888: Create a monit file for each airtime component

-missed some changes in the full-install
This commit is contained in:
martin 2011-09-26 20:42:08 -04:00
parent df4bf9e1c7
commit dffe6b33ac
1 changed files with 1 additions and 3 deletions

View File

@ -74,16 +74,14 @@ echo "4. Enable Monit"
echo "----------------------------------------------------"
cd /etc/default/
sed -i 's/startup=0/startup=1/g' monit
cp $SCRIPTPATH/../../python_apps/monit/airtime-monit.cfg /etc/monit/conf.d
grep -q "include /etc/monit/conf.d" /etc/monit/monitrc
RETVAL=$?
if [ $RETVAL -ne 0 ] ; then
mkdir -p /etc/monit/conf.d
echo "include /etc/monit/conf.d/*" >> /etc/monit/monitrc
fi
service monit start
# Run Airtime Install
echo "----------------------------------------------------"
echo "5. Run Airtime Install"