Adding elasticsearch init script. This should be placed in /etc/init.d/elasticsearch with the proper permissions.