Fix stop_watcher function

Apache should be reloaded after watcher-api is disabled.

Change-Id: Ifee0e7701849348630568aa36b3f3c4c62d3382e
This commit is contained in:
Alexander Chadin
2018-12-10 16:29:42 +03:00
parent 08750536e7
commit 83411ec89f

View File

@@ -314,6 +314,7 @@ function start_watcher {
function stop_watcher {
if [[ "$WATCHER_USE_MOD_WSGI" == "True" ]]; then
disable_apache_site watcher-api
restart_apache_server
else
stop_process watcher-api
fi