%% -*- tab-width: 4;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_view_dir, "./data"}.
{platform_etc_dir,  "./etc"}.
{platform_lib_dir,  "./lib"}.
{platform_log_dir,  "./log"}.
{platform_run_dir,  "./run"}.
{platform_share_dir, "./share"}.

%% vendor info
{vendor_name, "rcouch"}.

%% app config
{couchdb_ip, "0.0.0.0"}.
{couchdb_port, 5984}.
{ssl_port, 6986}.
{sasl_error_log, "log/sasl-error.log"}.
{sasl_log_dir, "log/sasl"}.

%% node
{node, "rcouch@127.0.0.1"}.
{cookie, "rcouch"}.
{crash_dump,   "log/erl_crash.dump"}.

{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"}.
{pipe_dir,           "/tmp/$RUNNER_BASE_DIR/"}.
{runner_user,        ""}.
