elasticsearch/cookbook-elasticsearch — pull request #261 by nicwaller (2014-12-04 20:30:16+00:00)
Title: Only invoke ulimit when starting service

ulimit can only be invoked by the root user, so when this init script is called by a non-root user (eg. to check the service status) then it writes a message to stderr. Maybe ulimit should be moved into the start() block?