minor change
This commit is contained in:
parent
2093185b2c
commit
fdd36a356a
|
@ -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…
Reference in New Issue