Make agent init script able to launch multiple instances on the same host.