Script to enable systemd support on current WSL2 images.
git clone https://github.com/simhaonline/wsl2-systemd.git
cd wsl2-systemd/
sudo bash wsl2-systemd.sh
# Enter your password and wait until the script has finished
cmd.exe /C setx WSLENV BASH_ENV/u
cmd.exe /C setx BASH_ENV /etc/bash.bashrc
rm -rf cd wsl2-systemd
systemctl