diff --git a/pandora_server/bin/pandora_server b/pandora_server/bin/pandora_server index eead79c04e..afd8afe70a 100755 --- a/pandora_server/bin/pandora_server +++ b/pandora_server/bin/pandora_server @@ -694,3 +694,11 @@ else { win32_service_run(); } +################################################################################ +# Kill any scripts started by the Pandora FMS Server that are still running. +################################################################################ +END {{ + local $SIG{HUP} = "IGNORE"; + kill("HUP", -$$); +}} +