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 63e6fde8ff
commit b0c504cd1e
1 changed files with 1 additions and 0 deletions

View File

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