Skip to content

A lite tool to make systemd work in Windows Subsystem for Linux 2

License

Notifications You must be signed in to change notification settings

Incisakura/angea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angea


Naming from hydrangea(アジサイ)

A lite tool to make systemd work in Windows Subsystem for Linux 2

WSL1 is not supported.

Attention

Microsoft has officially released systemd support for WLS. Thus, this repository has reached its end. It would be archived. For more about that, see here or further documents from Microsoft.

Usage

See angea help

Advanced Usage

Custom Shell Program

Run angea shell with envivonment variable ARGS. (default args in example below)

Note: The first argument must be a absolute path.

ANGEA_ARGS="/usr/bin/bash -l" angea shell

Custom Envivonment Variable

Notice: Wroung environment variable passed may trigger an error.

// Set Envivonment Variable
ANGEA_ENVS="TERM=xterm-256color,WSL=1" angea shell

// Inherit Envivonment Variable
// If `ANGEA_ENV_INHERIT` is not set, angea would inherit `TERM` by default
ANGEA_ENV_INHERIT="TERM,WT_SESSION" angea shell

// Both
ANGEA_ENVS="TERM=xterm-256color" ENV_INHERIT="WT_SESSION" angea shell

Requirement

Nothing! But you should install systemd as least.

Credit

Incisakura <incisakura@icloud.com>

Licence

MIT

About

A lite tool to make systemd work in Windows Subsystem for Linux 2

Topics

Resources

License

Stars

Watchers

Forks

Languages