WSL2: Enabling systemd in Ubuntu 22.04
Since Ubuntu 22.04 it is possible to use systemd in an experimental state on WSL installations. This guide explains how you can easily set it up in just a few steps. Setup Guide Install wsl-setup package, if its not already there. sudo apt install wsl-setup Create a /etc/wsl.conf file (WSL Configuration Documentation): For WSL comes with Windows 10/11: [boot] command="/usr/libexec/wsl-systemd" For WSL Preview from MS Store in Windows 11: ...