first define the agent config file and only then the service, for initial creation