From 44e5acac38b7b89d6f671245d8fb6ff54492c6d1 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Tue, 2 Jun 2015 01:47:25 +0200 Subject: [PATCH] fix: Restart/reload apache --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 03ab1066..495e6bfc 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,7 @@ push_test: ./manage.py migrate --noinput && \ (chown -Rf :mam . || true ) && \ (chmod -Rf g+w . || true ) && \ - echo "Reloading apache ... (You may have to start it manually on error!)" && \ + echo 'Reloading apache ... (You may have to start it manually on error!)' && \ ~/etc/apache2/apache2ctl -k reload && \ echo Done." @echo "Test pushed to ${TEST_SERVER}:${TEST_DIR} successfully." @@ -95,7 +95,7 @@ push_prod: git tag deploy-prod-`date +%Y-%m-%d-%H-%M`-${USER} git push --all ssh ${PROD_USER}@${PROD_SERVER} -n -x "\ - echo "Stopping apache ... (You may have to start it manually on error!)" && \ + echo 'Stopping apache ... (You may have to start it manually on error!)' && \ ~/etc/apache2/apache2ctl -k stop && \ cd ${PROD_DIR} && \ ./backup_prod_db.sh && \ @@ -108,7 +108,7 @@ push_prod: ./manage.py migrate --noinput && \ (chown -Rf :mam . || true ) && \ (chmod -Rf g+w . || true ) && \ - echo "Starting apache ..." && \ + echo 'Starting apache ... (You may have to start it manually on error!)' && \ ~/etc/apache2/apache2ctl -k start && \ echo Done." @echo "Deployed to ${PROD_SERVER}:${PROD_DIR} successfully."