I'd like to more gracefully stop Linux processes running on WSL 2. Right now when the kernel stops, it just kills them. Can I register a script to run as the kernel stops?
I'd like to more gracefully stop Linux processes running on WSL 2. Right now when the kernel stops, it just kills them. Can I register a script to run as the kernel stops?