Skip to main content

systemd_unit

Function systemd_unit 

Source
pub fn systemd_unit(exe: &Path, home: &Path, log: &Path) -> Result<String>
Expand description

A systemd user unit (no root needed) with the same restart policy.

Compiled on every platform (it is pure string assembly) so its tests run everywhere; only the caller that installs it is Linux-gated.