Added SIGINT signal catch

This commit is contained in:
Tigerblue77
2024-11-17 21:57:32 +00:00
parent e22efc3d4e
commit ce7bb3fc9a

View File

@@ -7,7 +7,7 @@
source functions.sh
# Trap the signals for container exit and run graceful_exit function
trap 'graceful_exit' SIGQUIT SIGTERM
trap 'graceful_exit' SIGINT SIGQUIT SIGTERM
# Prepare, format and define initial variables