prevent overwriting of agent's config file when container restarts