Module: check_mk
Branch: master
Commit: 20d3ea93eb72c6206266ff5054185043b102e9b3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=20d3ea93eb72c6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 7 10:53:44 2017 +0200
Fixed recently introduced issue activating EC changes
Change-Id: Ie2884e3e7a5d63c542b497975535bd4b29976e47
---
web/htdocs/watolib.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index ae05ecb..992ddca 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -5216,6 +5216,9 @@ class ActivateChangesSite(multiprocessing.Process,
ActivateChanges):
# Detach from parent (apache) -> Remain running when apache is restarted
os.setsid()
+ # Cleanup existing livestatus connections (may be opened later when needed)
+ sites.disconnect()
+
# Cleanup ressources of the apache
for x in range(3, 256):
try: