mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Kill child processes when the server exits.
This commit is contained in:
parent
f85253c5b7
commit
c3b9f9bdbb
@ -702,3 +702,11 @@ else {
|
|||||||
win32_service_run();
|
win32_service_run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Kill any scripts started by the Pandora FMS Server that are still running.
|
||||||
|
################################################################################
|
||||||
|
END {{
|
||||||
|
local $SIG{HUP} = "IGNORE";
|
||||||
|
kill("HUP", -$$);
|
||||||
|
}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user