Use apache2ctl instead of kill -HUP
This commit is contained in:
@@ -61,7 +61,7 @@ echo "==================================================================="
|
|||||||
echo "NOTE: If you want to edit config_local.py on the server, do so now."
|
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."
|
echo "NOTE: Press [ENTER] to continue and restart the server process."
|
||||||
read dummy
|
read dummy
|
||||||
${SSH} docker exec ${DOCKER_NAME} kill -HUP 1
|
${SSH} docker exec ${DOCKER_NAME} apache2ctl graceful
|
||||||
echo "Server process restarted"
|
echo "Server process restarted"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user