Added SIGINT signal catch
This commit is contained in:
parent
e22efc3d4e
commit
ce7bb3fc9a
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
source functions.sh
|
source functions.sh
|
||||||
|
|
||||||
# Trap the signals for container exit and run graceful_exit function
|
# 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
|
# Prepare, format and define initial variables
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue