Skip to main content

launchd_plist

Function launchd_plist 

Source
pub fn launchd_plist(plan: &InstallPlan) -> String
Expand description

Renders the launchd property list for this plan.

KeepAlive is a dictionary rather than <true/> on purpose: the requirement is restart on failure, and a bare KeepAlive also restarts a job that exited cleanly, which would turn a deliberate service stop into a fight with launchd.