}
if ("stop".equals(operation)) {
if (sc.getStatus() == ServiceComponent.Status.STOPPED) {
context.out.println("service " + sc.getName() + " already stopped");
} else {
sc.stop();
context.out.println("service " + sc.getName() + " stopped");
}
return 0;
}
context.err.println("unknown operation '" + operation + "'");