oehrlis / oudbase

OUD base environment scripts
Apache License 2.0
6 stars 1 forks source link

Implement trap / signal handline #83

Closed oehrlis closed 1 year ago

oehrlis commented 4 years ago

Implement trap and signal handline to catch signal send by kill. See https://unknowndba.blogspot.com/2020/08/bash-trap-scripts-more-robust.html

oehrlis commented 1 year ago

add simple functions to handle TERM/SIGINT