title: What is the proper way to have a Windows service stop and start gracefully when suspending/resuming a PC?
body: <p>I need to stop our Windows service when a PC is powered down into Suspend mode and restart it when the PC is resumed again. What is the proper way to do this?</p>