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 41bfba5cac
commit bb0e959bd2
1 changed files with 1 additions and 0 deletions

View File

@ -317,6 +317,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