Skip to main content

ini_parser

Function ini_parser 

Source
pub fn ini_parser(
    section_unit: &str,
    description: &str,
    after: &str,
    section_service: &str,
    environment: &str,
    type: &str,
    user: &str,
    working_directory: &str,
    exec_start: &str,
    restart: &str,
    restart_delay: &str,
    std_out: &str,
    std_err: &str,
    section_install: &str,
    wanted_by: &str,
    filename: &Path,
)
Expand description

INI file creator based on provided parameters Can be used in SystemD OS, like Ubuntu or Debian