4 ms·Define a cleanup function to nicely handle SIGTERM/SIGKILL/... maybe?by frafra 4y agoDefine a cleanup function to nicely handle SIGTERM/SIGKILL/... maybe?jwilk 4y agoYou can't trap SIGKILL.frafra 4y agoThank you, you are right. SIGTERM and SIGINT then :) https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.html https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_12_02.ht...