Blog

systemd support for WSL distros

The pre-Release 0.67.6 of Windows-Subsystem for Linux can now run systemd inside of your distros.

Preparations

To get started, you will need to run WSL version Version 0.67.6 or above. The WSL pre-release can be downloaded and installed from the GitHub repository as an installable bundle.

wsl --list

With the command wsl --list in the Windows Terminal, an overview of the available Linux distributions can be displayed.

wsl --update

With wsl --update, the distributions can be brought to the latest available version.

In order to use systemd within a WSL distribution, the file wsl.conf must be adjusted within the /etc/ folder inside the distribution:

[boot] 
systemd=true[Translate to English:] 

WSL systemd