basho/riak — pull request #100 by dhull (2011-11-03 23:00:56+00:00)
Title: Fix init script (/var/run/riak, status, start)

This pull request fixes three small problems with riak's RPM init script:

1. On Fedora 15, /var/run is a tmpfs filesystem, and so the /var/run/riak directory goes away when the machine is rebooted. Change the init script to create it if it doesn't exist. This corresponds to bug 775 (https://issues.basho.com/show_bug.cgi?id=775) in the basho bugzilla.

2. Add a "status" command.

3. The "start" command incorrectly detects that riak is not running even if it is.