CC-2726: create custom restart script for the Monit to use

- using Monit restart instead of start in full insatll script
- create new "monit-restart" function in pypo init.d
This commit is contained in:
James 2011-08-24 17:17:28 -04:00
parent 58837ff89b
commit 95cb1858c7
4 changed files with 30 additions and 5 deletions

View file

@ -78,7 +78,7 @@ if [ $RETVAL -ne 0 ] ; then
sudo echo "include /etc/monit/conf.d/*" >> /etc/monit/monitrc
fi
sudo service monit start
sudo service monit restart
# Run Airtime Install
echo "----------------------------------------------------"