Add service restart support.

This change adds basic restart support for services. This should
be refactored into a generic service support mechanism.