Function systemd::daemon::notify [] [src]

pub fn notify(
    unset_environment: bool,
    state: HashMap<&str, &str>
) -> Result<bool>

Notifies systemd that daemon state has changed. state is made up of a set of key-value pairs. See sd-daemon.h for details. Some of the most common keys are defined as STATE_* constants in this module. Returns true if systemd was contacted successfully.