To change the running mode of services.