restartService method

void restartService()
inherited

Implementation

void restartService() {
  PrecisionStopwatch p = PrecisionStopwatch.start();
  verbose("Restarting $name Service");
  stopService();
  startService();
  verbose("Restarted $name Service in ${p.getMilliseconds()}ms");
}