# DamionGans/ubuntu-wsl2-systemd-script

[Does not work anymore!] Script to enable systemd support on current Ubuntu WSL2 images

Repository: https://github.com/DamionGans/ubuntu-wsl2-systemd-script
Canonical: https://ross.abutalabs.com/products/ubuntu-wsl2-systemd-script
Language: Shell
License Family: other
Topics: ubuntu, wsl2
Archived: true
Last push: 2023-09-17T19:44:03+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2358, "days_push": 1081, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1571, forks 388 (observed 2026-08-28T04:05:05.445878+00:00)

## What it is
A shell script that enables systemd support inside Ubuntu WSL2 images from the Windows Store, based on instructions from the Snapcraft forum. It is explicitly unsupported and no longer maintained, and the author notes it does not work anymore on current WSL2 releases.

## Use cases
- enable systemd in ubuntu wsl2
- run systemctl on windows subsystem for linux
- make snapd work inside wsl2
- start services with systemd under wsl2
- fix systemctl not working in wsl2

## When to choose
- you are stuck on an old WSL2 Ubuntu image where this hack still applies and you need systemd temporarily
- you want a quick one-command workaround instead of editing WSL config files manually

## When to avoid
- you are on any recent WSL2 version - the script is abandoned and confirmed broken
- modern WSL2 supports systemd natively via wsl.conf, which is the supported approach
- you need something maintained or with a license

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: configuration-management, developer-tools, cli
- domain: operating-systems, developer-tools
- platform: windows, cli
- tags: wsl2, systemd, ubuntu, shell-script, windows-subsystem-for-linux, deprecated, systemd-support, command-line, linux

## Member repositories
- DamionGans/ubuntu-wsl2-systemd-script (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.445878+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:25.266538+00:00, confidence not recorded.
  - readme: https://github.com/DamionGans/ubuntu-wsl2-systemd-script (fetched 2026-08-28T04:05:05.445878+00:00, sha aa01eaea9a9e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
