Skip to main content

system_service_unit

Function system_service_unit 

Source
pub fn system_service_unit(service: &str, depends_on: &[&str]) -> Result<String>
Expand description

Generate a systemd service unit for system-wide (root) installation.

The unit runs as the hyprstream system user and uses RuntimeDirectory=hyprstream (→ /run/hyprstream/) for sockets. Boots automatically via WantedBy=multi-user.target.