Function prs_lib::systemd_bin::systemd_remove_timer [−][src]
pub fn systemd_remove_timer(unit: &str) -> Result<()>
Expand description
Remove a systemd transient timer.
Errors if the timer is not available. This may ask for root privileges through sudo.
Because this involves timers, if this operation fails it will also internally try to do the
same for the given unit with a .timer
suffix.