I'm implementing the Ambari service and need to have it started aotumatically after cluster was started. Is there some option in metainfo.xml to enable this?
You can configure auto restart for the services through ambari:
Also, if you want Ambari to auto restart you can add it as a service and demonize the service, so that it will restart automatically.