From 5864654244fcbaecfa173f38af7462af2f066e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 23 Aug 2016 14:57:55 +0200 Subject: [PATCH] Use apache2ctl instead of kill -HUP --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index b84db2c..550cb7b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -61,7 +61,7 @@ echo "===================================================================" echo "NOTE: If you want to edit config_local.py on the server, do so now." echo "NOTE: Press [ENTER] to continue and restart the server process." read dummy -${SSH} docker exec ${DOCKER_NAME} kill -HUP 1 +${SSH} docker exec ${DOCKER_NAME} apache2ctl graceful echo "Server process restarted" echo