Fix daemon initialization with settings from conf