58d2a43b37
* "make rel" does something not horrible * `rel/machi/bin/machi console` launches a console to an idle VM
45 lines
1.1 KiB
Erlang
45 lines
1.1 KiB
Erlang
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% 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"}.
|
|
|
|
%%
|
|
%% etc/app.config
|
|
%%
|
|
{sasl_error_log, "{{platform_log_dir}}/sasl-error.log"}.
|
|
{sasl_log_dir, "{{platform_log_dir}}/sasl"}.
|
|
|
|
%% lager
|
|
{console_log_default, file}.
|
|
|
|
%%
|
|
%% etc/vm.args
|
|
%%
|
|
{node, "machi@127.0.0.1"}.
|
|
{crash_dump, "{{platform_log_dir}}/erl_crash.dump"}.
|
|
|
|
%%
|
|
%% bin/machi
|
|
%%
|
|
{runner_script_dir, "\`cd \\`dirname $0\\` 1>/dev/null && /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_wait_process, "riak_core_node_watcher"}.
|
|
{runner_ulimit_warn, 65536}.
|
|
|
|
%%
|
|
%% cuttlefish
|
|
%%
|
|
{cuttlefish, ""}. % blank = off
|
|
{cuttlefish_conf, "machi.conf"}.
|
|
|