ensure the main configuration directory exists
manage service before configuration files