talisker123gjs
Technical User
Hello
I am aware of the "trap" command to trap various signals.
I am running a shell script as a daemon. In case this daemon crashes for some reason, I wish to trap the relevant signal and echo some information into a file.
Which signal do I need to trap when my daemon simply crashes ?
Thanks
I am aware of the "trap" command to trap various signals.
I am running a shell script as a daemon. In case this daemon crashes for some reason, I wish to trap the relevant signal and echo some information into a file.
Which signal do I need to trap when my daemon simply crashes ?
Thanks