当我使用rebar3(rebar3 release
或rebar3 tar
)创建一个版本并且我包含ERTS时,start_sasl.boot
脚本丢失并阻止我启动我的应用程序。
# ./erts-8.2.1/bin/erl -boot start_sasl [...]
{"init terminating in do_boot",{'cannot get bootfile','start_sasl.boot'}}
init terminating in do_boot ()
我当前发布的rebar.config
部分:
{relx, [
{release, {my_app, "1.0.0"}, [my_app]},
{dev_mode, false},
{include_erts, true},
{extended_start_script, false},
{generate_start_script, false},
{overlay, [
{copy, "priv/scripts/nodetool", "bin"},
{copy, "priv/scripts/run", "bin"}
]}
]}.
我是否缺少在发布目录中包含start_sasl.boot
的设置?