pub fn logrotate_parser(
log_file: &str,
freq: Option<String>,
rotation: Option<u32>,
comp: bool,
delaycomp: bool,
missok: bool,
not_if_empty: bool,
create_mode: u32,
create_owner: String,
create_group: String,
shared_scripts: bool,
post_rotate: Option<String>,
logrotate_file: &Path,
) -> Result<()>Expand description
Logrotate file creator Create logrotate conf file based on provided function parameters.