在使用rebar3创建发行版时包括start_sasl.boot

时间:2017-04-12 13:26:41

标签: erlang otp rebar

当我使用rebar3(rebar3 releaserebar3 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的设置?

0 个答案:

没有答案