Skip to main content

system_socket_unit

Function system_socket_unit 

Source
pub fn system_socket_unit(service: &str) -> String
Expand description

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

Socket listens on /run/hyprstream/{service}.sock and activates the corresponding service unit on connection.