fix(appup): Always run appup actions for management and dashboard
This commit is contained in:
parent
4643415b0b
commit
b60e33ca41
|
@ -1,13 +1,13 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{VSN,
|
{VSN,
|
||||||
[ {<<"4.3.[0-6]">>,
|
[ {<<"4\\.3\\..+">>,
|
||||||
[ {apply,{minirest,stop_http,['http:management']}},
|
[ {apply,{minirest,stop_http,['http:management']}},
|
||||||
{apply,{minirest,stop_http,['https:management']}},
|
{apply,{minirest,stop_http,['https:management']}},
|
||||||
{restart_application, emqx_management}
|
{restart_application, emqx_management}
|
||||||
]},
|
]},
|
||||||
{<<".*">>, []}
|
{<<".*">>, []}
|
||||||
],
|
],
|
||||||
[ {<<"4.3.[0-6]">>,
|
[ {<<"4\\.3\\..+">>,
|
||||||
[ {apply,{minirest,stop_http,['http:management']}},
|
[ {apply,{minirest,stop_http,['http:management']}},
|
||||||
{apply,{minirest,stop_http,['https:management']}},
|
{apply,{minirest,stop_http,['https:management']}},
|
||||||
{restart_application, emqx_management}
|
{restart_application, emqx_management}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{VSN,
|
{VSN,
|
||||||
[ {<<"4.3.[0-4]">>,
|
[ {<<"4\\.3\\.+">>,
|
||||||
%% load all plugins
|
%% load all plugins
|
||||||
%% NOTE: this depends on the fact that emqx_dashboard is always
|
%% NOTE: this depends on the fact that emqx_dashboard is always
|
||||||
%% the last application gets upgraded
|
%% the last application gets upgraded
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
]},
|
]},
|
||||||
{<<".*">>, []}
|
{<<".*">>, []}
|
||||||
],
|
],
|
||||||
[ {<<"4.3.[0-4]">>,
|
[ {<<"4\\.3\\.+">>,
|
||||||
[ {apply, {emqx_rule_engine, load_providers, []}}
|
[ {apply, {emqx_rule_engine, load_providers, []}}
|
||||||
, {restart_application, emqx_dashboard}
|
, {restart_application, emqx_dashboard}
|
||||||
, {apply, {emqx_plugins, load, []}}
|
, {apply, {emqx_plugins, load, []}}
|
||||||
|
|
Loading…
Reference in New Issue