Expand description
Systemd unit installation for socket activation
This module provides automatic installation of systemd user units for the service socket activation pattern.
§Usage
ⓘ
use hyprstream::cli::systemd_setup::ensure_units;
let services = &["registry".to_owned(), "policy".to_owned()];
if ensure_units(services) {
// Systemd units are installed and ready
}Functions§
- ensure_
units - Ensure systemd socket units are installed and enabled (idempotent)
- is_
systemd_ available - Check if systemd is available