{"id":15131207,"url":"https://github.com/damiongans/ubuntu-wsl2-systemd-script","last_synced_at":"2025-09-28T21:31:13.770Z","repository":{"id":37696549,"uuid":"248468739","full_name":"DamionGans/ubuntu-wsl2-systemd-script","owner":"DamionGans","description":"[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images","archived":true,"fork":false,"pushed_at":"2023-09-17T19:44:03.000Z","size":31,"stargazers_count":1557,"open_issues_count":50,"forks_count":384,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-09-27T03:24:27.078Z","etag":null,"topics":["ubuntu","wsl2"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DamionGans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-19T10:03:11.000Z","updated_at":"2024-09-22T16:48:43.000Z","dependencies_parsed_at":"2023-02-09T22:15:54.456Z","dependency_job_id":"52dc5e1a-7cc8-4028-a734-08d3bde4c60f","html_url":"https://github.com/DamionGans/ubuntu-wsl2-systemd-script","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamionGans%2Fubuntu-wsl2-systemd-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamionGans%2Fubuntu-wsl2-systemd-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamionGans%2Fubuntu-wsl2-systemd-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DamionGans%2Fubuntu-wsl2-systemd-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DamionGans","download_url":"https://codeload.github.com/DamionGans/ubuntu-wsl2-systemd-script/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563149,"owners_count":18853061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ubuntu","wsl2"],"created_at":"2024-09-26T03:24:29.700Z","updated_at":"2025-09-28T21:31:13.484Z","avatar_url":"https://github.com/DamionGans.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ubuntu-wsl2-systemd-script\n## Script is unsupported and will no longer be maintained, but will be up here because it is used by quite some people.\n\nScript to enable systemd support on current Ubuntu WSL2 images from the Windows store. \n\nI am not responsible for broken installations, fights with your roommates and police ringing your door ;-).\n\nInstructions from [the snapcraft forum](https://forum.snapcraft.io/t/running-snaps-on-wsl2-insiders-only-for-now/13033) turned into a script. Thanks to [Daniel](https://forum.snapcraft.io/u/daniel) on the Snapcraft forum! \n\n## Usage\nYou need ```git``` to be installed for the commands below to work. Use\n```sh\nsudo apt install git\n```\nto do so.\n### Run the script and commands\n```sh\ngit clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git\ncd ubuntu-wsl2-systemd-script/\nbash ubuntu-wsl2-systemd-script.sh\n# Enter your password and wait until the script has finished\n```\n### Then restart the Ubuntu shell and try running systemctl\n```sh\nsystemctl\n\n```\nIf you don't get an error and see a list of units, the script worked.\n\nHave fun using systemd on your Ubuntu WSL2 image. You may use and change and distribute this script in whatever way you'd like. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamiongans%2Fubuntu-wsl2-systemd-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamiongans%2Fubuntu-wsl2-systemd-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamiongans%2Fubuntu-wsl2-systemd-script/lists"}