Convert RPM init script to fall in line with Redhat style#44
Convert RPM init script to fall in line with Redhat style#44jaredmorrow merged 10 commits intomasterfrom
Conversation
as suggested by Pablo Nebrera
|
Looking at this / testing it tonight and tomorrow. |
|
Looks like the |
According to http://fedoraproject.org/wiki/Packaging:SysVInitScript `try-restart` is required by Fedora. Also I cleaned up the whitespace converting tabs->spaces.
|
The problem with pid files when we don't usually use them is the weirdness if you mix using the init.d script with the regular riak script: |
|
@joecaswell after I spoke to @Vagabond about the clash of the riak script and the init.d script, we think the best way forward is to move the pidfile creation into the runner script so it gets created no matter how you start / stop riak. So, I will hold off on this PR for now, then make it depend on another PR that creates the pid files. It might take me a bit, b/c I'll have to figure out where each OS keeps pid files! |
|
Tested start/stop/hardstop/ping compared to runner script commands of same name, everything now acts the same and doesn't step on each other's toes with the .pid files. |
Convert RPM init script to fall in line with Redhat style
This pull request changes the init script installed by RPM's to fall in line with Redhat and Fedora style guides. Pid files have been added for start/stop/status functions.