Move the service restart functionality out of the "service restart" request into its own method. This allows the "service restart" to be called internally by other modules. Signed-off-by: Eric Callahan <arksine.code@gmail.com>