only restart when configuration changed