seafile: create config file in a more elegant way