Commit 5da59af3 authored by Heinz N. Gies's avatar Heinz N. Gies

Add advanced config to default install path

parent 75ae037a
......@@ -104,6 +104,7 @@
{template, "rel/files/dalmatinerfe", "bin/dalmatinerfe"},
{template, "share/dfe.xml", "share/dfe.xml"},
{template, "share/advanced.config", "share/advanced.config"},
{template, "schema/dalmatinerfe.schema", "share/schema/00-dalmatiner_frontend.schema"},
{template, "\{\{build_dir\}\}/lib/ddb_connection/priv/ddb_connection.schema", "share/schema/01-ddb_connection.schema"},
......
......@@ -15,7 +15,7 @@ case $2 in
echo Creating dalmatinerfe group ...
groupadd $GROUP
fi
if id $USER > /dev/null 2>&1
if id $USER > /deviwb/null 2>&1
then
echo "User already exists, skipping creation."
else
......@@ -51,5 +51,11 @@ case $2 in
else
echo "Please make sure you update your config according to the update manual!"
fi
ADVANCED=/data/dalmatinerfe/etc/advanced.config
if [ ! -f "${ADVANCED}" ]
then
cp /opt/local/dalmatinerfe/share/advanced.config "${ADVANCED}"
fi
;;
esac
[{lager,
[{error_logger_hwm,100},
{crash_log_count,5},
{crash_log_date,"$D0"},
{crash_log_size,10485760},
{crash_log_msg_size,65536},
{crash_log,"/data/dalmatinerfe/log/crash.log"},
{handlers,
[{lager_file_backend,
[{file,"/data/dalmatinerfe/log/console.log"},
{level,info},
{size,10485760},
{date,"$D0"},
{count,5}]},
{lager_file_backend,
[{file,"/data/dalmatinerfe/log/error.log"},
{level,error},
{size,10485760},
{date,"$D0"},
{count,5}]},
{lager_file_backend,
[{file,"/data/dalmatinerfe/log/debug.log"},
{level,debug},
{size,10485760},
{date,"$D0"},
{count,5}]}]},
{error_logger_redirect,true}]},
{dqe_idx_pg,
[{password,"ddb"},
{username,"ddb"},
{database,"metric_metadata"},
{max_overflow,0},
{size,20},
{server,{"192.168.1.47",5432}}]},
{dqe_idx,[{lookup_module,dqe_idx_pg}]},
{dqe,[{get_chunk,100000}]},
{ddb_connection,
[{max_read,1209600}, {pool_max,10},{pool_size,10},{backend,{"192.168.1.44",5555}}]},
{dalmatiner_frontend,[{http_listeners,100},{http_port,8080}]},
{sasl,[{sasl_error_logger,false}]}].
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment