Lines 2-12
Link Here
|
2 |
%% ex: ft=erlang ts=4 sw=4 et |
2 |
%% ex: ft=erlang ts=4 sw=4 et |
3 |
|
3 |
|
4 |
%% Platform-specific installation paths |
4 |
%% Platform-specific installation paths |
5 |
{platform_bin_dir, "./bin"}. |
5 |
{platform_bin_dir, "/usr/bin"}. |
6 |
{platform_data_dir, "./data"}. |
6 |
{platform_data_dir, "/var/lib/riak"}. |
7 |
{platform_etc_dir, "./etc"}. |
7 |
{platform_etc_dir, "/etc/riak"}. |
8 |
{platform_lib_dir, "./lib"}. |
8 |
{platform_lib_dir, "/usr/lib/riak"}. |
9 |
{platform_log_dir, "./log"}. |
9 |
{platform_log_dir, "/var/log/riak"}. |
10 |
|
10 |
|
11 |
%% |
11 |
%% |
12 |
%% etc/app.config |
12 |
%% etc/app.config |
Lines 47-58
Link Here
|
47 |
%% |
47 |
%% |
48 |
%% bin/riak |
48 |
%% bin/riak |
49 |
%% |
49 |
%% |
50 |
{runner_script_dir, "$(cd ${0%/*} && pwd)"}. |
50 |
{runner_script_dir, "/usr/bin"}. |
51 |
{runner_base_dir, "{{runner_script_dir}}/.."}. |
51 |
{runner_base_dir, "{{platform_lib_dir}}"}. |
52 |
{runner_etc_dir, "$RUNNER_BASE_DIR/etc"}. |
52 |
{runner_etc_dir, "{{platform_etc_dir}}"}. |
53 |
{runner_log_dir, "$RUNNER_BASE_DIR/log"}. |
53 |
{runner_log_dir, "{{platform_log_dir}}"}. |
54 |
{runner_lib_dir, "$RUNNER_BASE_DIR/lib"}. |
54 |
{runner_lib_dir, "{{platform_lib_dir}}"}. |
55 |
{runner_patch_dir, "$RUNNER_BASE_DIR/lib/basho-patches"}. |
55 |
{runner_patch_dir, "{{platform_lib_dir}}/lib/basho-patches"}. |
56 |
{pipe_dir, "/tmp/$RUNNER_BASE_DIR/"}. |
56 |
{pipe_dir, "/tmp/riak"}. |
57 |
{runner_user, ""}. |
57 |
{runner_user, ""}. |
58 |
{runner_wait_process, "riak_core_node_watcher"}. |
58 |
{runner_wait_process, "riak_core_node_watcher"}. |