For ResourceManager-HA (
YARN-149 and co), we would want to start/stop/start RM's active services as it transitions to Active/Standby/Active respectively. In the current service model, we can't start the services that are already stopped.
Would be nice to augment this. To avoid accidental restart of stopped services, we can add another API: start(boolean restartIfStopped). Thoughts?