Skip to main content

unit_path

Function unit_path 

Source
pub fn unit_path(platform: Platform, user: bool) -> Result<PathBuf, AppError>
Expand description

The standard install path for a platform’s unit.

§Errors

AppError when $HOME is required (user scope) but unset.