Use pathconf in init_normal
Link libjansson
Read port from config