bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 29 days agoThinking I could clean up my files in a SIGINT handlersopuli.xyzexternal-linkmessage-square37fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkThinking I could clean up my files in a SIGINT handlersopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · 29 days agomessage-square37fedilink
minus-squaredeadcream@sopuli.xyzlinkfedilinkarrow-up0·28 days 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.