Added hot_deploy to deploy script

This commit is contained in:
Haakon Meland Eriksen 2015-09-18 18:51:03 +02:00
parent edb1473f13
commit 438cb1d7e0

View File

@ -160,3 +160,19 @@ chmod -R 777 ${OPENSHIFT_REPO}.openshift/cron/minutely/poller
echo "chmod done, permissions set to 777 on poller script."
####
echo "Check for the hot deploy marker at .openshift/markers/hot_deploy , if not created - create it"
if [ ! -f ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy ]; then
touch ${OPENSHIFT_REPO_DIR}.openshift/markers/hot_deploy
echo "Done creating file .openshift/cron/minutely/poller"
else
echo "The hot deploy marker already exists"
fi
####