Set hostname /after/ having read the config file.