Skip to main content

reload_signal_path

Function reload_signal_path 

Source
pub fn reload_signal_path(state_dir: &Path, id: &str) -> PathBuf
Expand description

The file a root-owned systemd .path unit watches to reload a target’s service. The agent writes it only after validation passed. Watching the target file itself reloaded the service on the rename, before the agent had validated anything, and again when a failed validation restored the previous file.