Homebrew/homebrew — pull request #30460 by szarsti (2014-06-26 12:56:22+00:00)
Title: Make riak keep data and logs under /usr/local/var subfolders

This change alters default riak configuration, so it will keep data in /usr/local/var/lib/riak and logs in /usr/local/var/log/riak. With this setup, your data will survive when installing new version of riak.

I also managed to simplify whole cellar structure, just by changing RIAK_BASE_DIR in env.sh