restart agent on configuration file change