DamionGans / ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images
1.56k stars 383 forks source link

not working #44

Open vedmed85 opened 3 years ago

vedmed85 commented 3 years ago

C:\Users\Alexander>wsl -d Ubuntu-16.04 Cannot execute daemonize to start systemd.

simonszu commented 3 years ago
  1. Open a CMD or Powershell
  2. wsl -u root
  3. sudo apt-get install daemonize
  4. Restart your WSL instance
  5. Profit

Please read existing issues first: https://github.com/DamionGans/ubuntu-wsl2-systemd-script/issues/37

jessewriter commented 2 years ago

apt-get command not found :/

jessewriter commented 2 years ago

wsl --shutdown then wsl -u root seems to have fixed that