bleistift2 to Programmer Humor@programming.devEnglish · 2 months agoThinking I could clean up my files in a SIGINT handlerimagemessage-square47fedilinkarrow-up1376arrow-down13
arrow-up1373arrow-down1imageThinking I could clean up my files in a SIGINT handlerbleistift2 to Programmer Humor@programming.devEnglish · 2 months agomessage-square47fedilink
minus-squaredeadcreamlinkfedilinkarrow-up5·2 months agoAFAIK kernel itself doesn’t send any signals to processes on shutdown/reboot, it just stops executing them. This is a job service manager (e.g. systemd) that terminates processes using SIGTERM before asking kernel to shutdown.
AFAIK kernel itself doesn’t send any signals to processes on shutdown/reboot, it just stops executing them. This is a job service manager (e.g. systemd) that terminates processes using SIGTERM before asking kernel to shutdown.