pub fn unit_path(platform: Platform, user: bool) -> Result<PathBuf, AppError>
The standard install path for a platform’s unit.
AppError when $HOME is required (user scope) but unset.
AppError
$HOME