rc_service_state now returns the state as a mask, which means that we can do things with just the one call making is more efficient.
Changed paths: