systemd_run

This is the crate for running processes as Systemd transient services.

Status: Highly unstable, at early development cycle.

Example code

This code starts /bin/true as a Systemd transient service, running in the per-user service manager of your login session, and wait for it to finish.

```rust

[async_std::main]

async fn main() -> std::result::Result<(), Box> { let status = systemd_run::RunUser::new("/bin/true") .start() .await? .wait() .await?; dbg!(status); Ok(()) } ```