how can i get systemd files to work on wls ubuntu 20.04

Viewed 2094

I created a service file named pointless.service but when I run sudo systemctl start pointless it returned System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down when I also tried sudo service pointless start but it returned pointless: unrecognized service. i am using wsl ubuntu 20.04 the above commands work for installed software like Nginx, Redis e.t.c. but it isn't working for any of my files

0 Answers
Related