fix previous fix, also write config if no daemons are going to be deployed