Take note of RABBITMQ_SERVICENAME, same as rabbitmq-service.bat does.
Merged bug25453 into stable