Automatic Shutdown and Startup of Services