add app restart to deploy scenario