Run script on WSL2 kernel shutdown?

Viewed 133

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?

0 Answers
Related