Is there a way to program a service to restart itself? I am talking to some third party hardware/software, and if a connection gets lost, the software doesn't want to reset itself correctly unless a shut down and restart the service completely. Basically I want to test for a valid binding, and if it has failed, do a self restart. Is it possible, or do I have to write a second service that looks for some kind of flag and resets the first service if it finds it? Thanks.