bleistift2@sopuli.xyz to Programmer HumorEnglish · 4 months agoThinking I could clean up my files in a SIGINT handlersopuli.xyzimagemessage-square50linkfedilinkarrow-up1416arrow-down14
arrow-up1412arrow-down1imageThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer HumorEnglish · 4 months agomessage-square50linkfedilink
minus-squaredeadcream@sopuli.xyzlinkfedilinkarrow-up10·4 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.