Lines 1-12
Link Here
|
1 |
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*- |
1 |
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*- |
2 |
%% ex: ts=4 sw=4 et |
2 |
%% ex: 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/sbin"}. |
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 43-51
Link Here
|
43 |
%% |
43 |
%% |
44 |
%% bin/riak |
44 |
%% bin/riak |
45 |
%% |
45 |
%% |
46 |
{runner_script_dir, "$(cd ${0%/*} && pwd)"}. |
46 |
{runner_script_dir, "/usr/sbin"}. |
47 |
{runner_base_dir, "${RUNNER_SCRIPT_DIR%/*}"}. |
47 |
{runner_base_dir, "{{platform_lib_dir}}"}. |
48 |
{runner_etc_dir, "$RUNNER_BASE_DIR/etc"}. |
48 |
{runner_etc_dir, "{{platform_etc_dir}}"}. |
49 |
{runner_log_dir, "$RUNNER_BASE_DIR/log"}. |
49 |
{runner_log_dir, "{{platform_log_dir}}"}. |
50 |
{pipe_dir, "/tmp/$RUNNER_BASE_DIR/"}. |
50 |
{pipe_dir, "/tmp/riak/"}. |
51 |
{runner_user, ""}. |
51 |
{runner_user, "riak"}. |