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
40
41
42
|
--- rel/vars.config.orig 2015-02-27 13:37:42 UTC
+++ rel/vars.config
@@ -2,11 +2,12 @@
%% 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_base_dir, "%%PREFIX%%/lib/riak"}.
+{platform_bin_dir, "%%PREFIX%%/sbin"}.
+{platform_etc_dir, "%%PREFIX%%/etc/riak"}.
+{platform_lib_dir, "%%PREFIX%%/lib/riak/lib"}.
+{platform_data_dir, "/var/db/riak"}.
+{platform_log_dir, "/var/log/riak"}.
%%
%% etc/app.config
@@ -40,14 +41,14 @@
%%
%% bin/riak
%%
-{runner_script_dir, "\`cd \\`dirname $0\\` && /bin/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_user, ""}.
+{runner_script_dir, "{{platform_bin_dir}}"}.
+{runner_base_dir, "{{platform_base_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}}/basho-patches"}.
+{pipe_dir, "/tmp/riak"}.
+{runner_user, "riak"}.
{runner_wait_process, "riak_core_node_watcher"}.
{runner_ulimit_warn, 65536}.
|