Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pages/linux/imp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# imp

> A helper to use native systemd support under WSL (Windows Subsystem for Linux).
> To run these from Windows rather than an already-running distribution, precede them with `wsl`.
> More information: <https://github.com/arkane-systems/bottle-imp#usage>.

- Initialize the helper functions and keep WSL running until explicit shutdown (run once, at start):

`imp {{[-i|--initialize]}}`

- Run a shell inside a systemd user session:

`imp {{[-s|--shell]}}`

- Run a specified command inside a systemd user session (preserves working directory):

`imp {{[-c|--command]}} {{command}}`

- Shut down systemd and the WSL instance:

`imp {{[-u|--shutdown]}}`