Skip to main content

apply

Function apply 

Source
pub fn apply(unit: &UnitId, wait: Duration) -> Outcome
Expand description

Start the unit’s hold, waiting at most wait (and never past TIMEOUT). Past it the systemctl client is killed and the result is Unknown; systemd’s start job is the manager’s, not the client’s, and goes on, so the hold may still land.