Skip to content
Browse files

Use a more flexible dump location for RPM.

  • Loading branch information...
1 parent 1abc429 commit 0f199e43c8d6b972af3d559b7bc217a105893fbb @seancribbs seancribbs committed Feb 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 package/rpm/SPECS/riak.spec
View
2 package/rpm/SPECS/riak.spec
@@ -44,7 +44,7 @@ cat > rel/vars.config <<EOF
{hook_js_vms, 2}.
% vm.args
{node, "riak@127.0.0.1"}.
-{crash_dump, "/var/log/riak/erl_crash.dump"}.
+{crash_dump, "%{_localstatedir}/log/%{name}/erl_crash.dump"}.
% bin/riak*
{runner_script_dir, "/usr/sbin"}.
{runner_base_dir, "%{riak_lib}"}.

0 comments on commit 0f199e4

Please sign in to comment.
Something went wrong with that request. Please try again.