Could anyone tell me how can I configure a instance of Shell to ignore the SIGTERM signal? I would really appreciate.
Sometimes when I want to logout quickly I do kill -15 -1. I've noticed that bash is ignoring SIGTERM.
I have a Bash script, which looks similar to this:
echo "Doing some initial work....";
Now if the bash shell running the script receives a SIGTERM signal, it should also send a SIGTERM to the running server (which blocks, so no trap possible). Is that possible?