Write config file for pub interface