Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

wsl System has not been booted with systemd as init system

Instead of using sudo systemctl start your_app use:
sudo /etc/init.d/your_app start
example:
sudo /etc/init.d/docker start ,
as of right now we do not have systemd in WSL 2.
example:
sudo /etc/init.d/chrony start



 
PREVIOUS NEXT
Tagged: #wsl #System #booted #systemd #init #system
ADD COMMENT
Topic
Name
5+5 =