Commit Graph

17 Commits

Author SHA1 Message Date
Ilya Averyanov
64c59b5469 feat(license): check license before node start 2022-02-11 11:49:29 +03:00
Kian-Meng Ang
fc92e4c8bf docs: fix typos 2022-01-27 12:29:38 +01:00
Zaiming Shi
01ce32094c refactor(bin/emax): delete cold_eval 2021-09-10 07:28:12 +02:00
Zaiming Shi
6f99f14540 feat(bin/emqx): add cold_eval nodetool command 2021-09-10 07:27:01 +02:00
Zaiming Shi
bc23ff5e47 feat: add graceful shutdown
prior to this cahnge emqx node shutdown is done by init:stop
which might have undesired stop order of the applications

in this change, emqx_machine_terminator is added to stop apps
in defined order and then terminate the node in infinite loop
2021-08-05 14:11:58 +02:00
Zaiming Shi
d68589e0cb feat(boot): make possible to boot on short name 2021-07-27 22:16:10 +02:00
Zaiming Shi
6edfb9a6c5 fix(nodetool): add_pathz -> add_patha 2021-06-15 14:48:09 +02:00
Zaiming Shi
c3bbe2c6b6 refactor(bin/emqx): invoke hocon_cli from nodetool
nodetool has all lib paths set up correctly by reading the
persisted RELEASES file

calling hocon escript directly has two problems:
1. it may not be able to find the beams compiled
2. if we use ERL_LIBS, it may find the version after hot beam upgrade
2021-06-15 14:12:34 +02:00
Turtle
99c22eb2a8 fix(relup): fix relup badfun 2021-06-05 13:56:27 +08:00
Zaiming Shi
a1162249b5 fix(nodetool): find release in releases 2021-05-13 22:57:44 +02:00
Zaiming Shi
53291ac3ff fix(nodetool): add path from RELEASES file 2021-05-13 21:59:08 +08:00
Zaiming Shi
3aba50605a chore(nodetool): ensure correct lib dirs
Prioro to this change, ekka lib dir was added by inspecting
the ekka lib version in persisted RELEASES file.
However, this file may not be the true version if a hot
upgrade failed in the middle.
In this fix, it reads the per-version emqx.rel file
content to load lib paths.
2021-05-10 12:04:22 +02:00
Zaiming Shi
6476a5ea92 fix(script): nodetool use remsh prefixed node name 2021-03-24 16:21:15 +01:00
Zaiming Shi
64cfaf4385 improve(print): io:format error message without indentation
Avoid squeezing lines to the right.
2021-02-19 07:45:37 +01:00
terry-xiaoyu
151d820058 feature(project): change to rebar3 umbrella project 2020-10-31 11:07:25 +08:00
Ery Lee
1e02cd1363 rm bin and fix README 2012-12-26 14:44:19 +08:00
erylee
efc1d9f424 add bin/ and some files 2012-12-21 17:33:21 +08:00