mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
minor change
This commit is contained in:
parent
2093185b2c
commit
fdd36a356a
4
pandora_agents/unix/plugins/autodiscover
Normal file → Executable file
4
pandora_agents/unix/plugins/autodiscover
Normal file → Executable file
@ -33,10 +33,6 @@ VERSION = "1.3"
|
|||||||
# Define a function to handle the SIGTERM signal
|
# Define a function to handle the SIGTERM signal
|
||||||
def sigterm_handler(signum, frame):
|
def sigterm_handler(signum, frame):
|
||||||
print("Received SIGTERM signal. Cleaning up...")
|
print("Received SIGTERM signal. Cleaning up...")
|
||||||
# Perform any necessary cleanup or shutdown operations here
|
|
||||||
# ...
|
|
||||||
|
|
||||||
# Exit the script
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
signal.signal(signal.SIGTERM, sigterm_handler)
|
signal.signal(signal.SIGTERM, sigterm_handler)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user