How to prevent wsl2 from automatically stopping

Merlin Cheng 0 Reputation points

I configured redis-server service in wsl2, but wsl sudo service redis-server start wsl instance will stop after running for a while after starting the service, how to prevent wsl from stopping, or what is the mechanism of wsl stopping


Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
4,732 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 7,486 Reputation points MVP