WSL: SystemCTL doesnt work

This bug-tracker is monitored by developers and other technical types. We like detail! So please use this form and tell us, concisely but precisely, what’s up. Please fill out ALL THE FIELDS!

If you have a feature request, please post to the UserVoice. If you’re reporting a BSOD, don’t post here! Instead, e-mail “secure@microsoft.com”, and if possible attach the minidump from "C:\Windows\minidump".

  • Your Windows build number: (Type ver at a Windows Command Prompt) Microsoft Windows [Version 10.0.15063]

  • What you’re doing and what’s happening: (Copy&paste specific commands and their output, or include screen shots)

image

  • What’s wrong / what should be happening instead: I wish to run a self host server with using the bash, but it couldnt use systemctl and enable it so everytime i start the PC and dont need to self type it again. I wish this could add in it as soon as possible, cause it really helpful.

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 19
  • Comments: 19

Most upvoted comments

You may want to try using Upstart to run and manage third-party services Also, Follow me on linkedIn , I am going to publish an article very soon on WSL and running opensource project with WSL. Hopefully, it should give you a comprehensive guide while you start working with WSL

Please fix systemd! Really would make Wsl more useful!

@Arios509 - I mean… You could vote https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/16571479-support-for-running-systemd or join discussion of #994, but you cannot use systemd on current WSL; Indeed systemctl doesn’t work on WSL, and there is no solution or workaround for systemd itself just now.

this is still problem , on window 10 Dell , ubuntu subsystem systemctl status jenkins System has not been booted with systemd as init system (PID 1). Can’t operate.

There is a workaround for WSL2 using genie