save server settings to file