fix data_dir location
add ssl/safe port param
add basic template
create conf.d