1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- a/rel/vars.config 2013-08-04 06:44:05.000000000 +0000
+++ b/rel/vars.config 2013-08-19 14:22:26.463290231 +0000
@@ -2,11 +2,11 @@
%% ex: ft=erlang ts=4 sw=4 et
%% Platform-specific installation paths
-{platform_bin_dir, "./bin"}.
-{platform_data_dir, "./data"}.
-{platform_etc_dir, "./etc"}.
-{platform_lib_dir, "./lib"}.
-{platform_log_dir, "./log"}.
+{platform_bin_dir, "/usr/bin"}.
+{platform_data_dir, "/var/lib/riak"}.
+{platform_etc_dir, "/etc/riak"}.
+{platform_lib_dir, "/usr/lib/riak"}.
+{platform_log_dir, "/var/log/riak"}.
%%
%% etc/app.config
@@ -47,12 +47,12 @@
%%
%% bin/riak
%%
-{runner_script_dir, "$(cd ${0%/*} && pwd)"}.
-{runner_base_dir, "{{runner_script_dir}}/.."}.
-{runner_etc_dir, "$RUNNER_BASE_DIR/etc"}.
-{runner_log_dir, "$RUNNER_BASE_DIR/log"}.
-{runner_lib_dir, "$RUNNER_BASE_DIR/lib"}.
-{runner_patch_dir, "$RUNNER_BASE_DIR/lib/basho-patches"}.
-{pipe_dir, "/tmp/$RUNNER_BASE_DIR/"}.
+{runner_script_dir, "/usr/bin"}.
+{runner_base_dir, "{{platform_lib_dir}}"}.
+{runner_etc_dir, "{{platform_etc_dir}}"}.
+{runner_log_dir, "{{platform_log_dir}}"}.
+{runner_lib_dir, "{{platform_lib_dir}}"}.
+{runner_patch_dir, "{{platform_lib_dir}}/lib/basho-patches"}.
+{pipe_dir, "/tmp/riak"}.
{runner_user, ""}.
{runner_wait_process, "riak_core_node_watcher"}.
|