-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2 always running #5488
Comments
If you start any service (daemon) on WSL it will run forever. " |
Any ideas on how to keep it (a WSL 2 distro) running utilizing a dummy daemon without |
|
@therealkenc Has this functionality changed? It seems it's no longer the case that WSL will run forever giving the example you just cited. |
@aagha I can confirm, I have the Docker service running ( |
Same here. I have nginx and mariadb running but it shuts off after I close the shell.
|
Is your feature request related to a problem? Please describe.
With WSL 2 the mounted remote network drives are unmounted when the last shell is closed.
On my system it takes a long time to mount the network drives (I guess that is why mountFsTab = true in wsl.conf doesn't work though fstab is configured and sudo mount -a is working)
Describe the solution you'd like
It would be nice if it was possible to let wsl2 run in the background (I know I can let the last shell run, but if wsl2 could mount the network drives at windows boot time that would be nice).
Best
Eigil
The text was updated successfully, but these errors were encountered: