Commit Graph

255 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
e22104476a fix(data_dir): get data_dir config in the right way
now data_dir config is respected by boot script as well as
EMQX application after booted
2022-02-28 09:59:56 +01:00
Zaiming (Stone) Shi
a8aa312825 fix(boot): allow user defined data_dir 2022-02-25 12:08:05 +01:00
Ilya Averyanov
64c59b5469 feat(license): check license before node start 2022-02-11 11:49:29 +03:00
Ilya Averyanov
17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
Zaiming (Stone) Shi
a04c834d05 chore: relocate some release files from data/ to rel/
data dir at the root is easily confused with the data
dir for EMQ X at run time
2022-01-14 16:41:22 +01:00
Thales Macedo Garitezi
67cca5d3a1
chore(mix): use the same script in mix release as in rebar release
Surprisingly enough, by doing small cirurgical changes in the existing
EMQX control scripts, we are able to get it running with Elixir and
with existing functionalities (`console`, `remote_console`, `start`,
`stop`, `ctl`, `foreground`, `eval`).
2021-12-23 17:20:04 -03:00
Thales Macedo Garitezi
014b6d3cfd
chore(shellcheck): fix shellcheck linting warnings 2021-12-22 15:43:43 -03:00
Thales Macedo Garitezi
62024854e5
chore(mix): wrap produced script and set required variables
We create a shim script that calls the one produced by Mix Release,
creating and setting the required configurations.
2021-12-22 15:15:19 -03:00
Thales Macedo Garitezi
917575de5a
chore(mix): minimal elixir mix release build
This commit enables a minimal working build of EMQX release using
Mix.  However, to properly start the release, several configuration
steps are still missing.  A `mix_release.sh` script does a few hacks
to get the release built with Mix to start properly, by first assuming
that `make emqx` has been run prior to the release, ran once to
generate the `app.*.config` files, and then it copies that and some
other files to the expected places.

Also, `emqx_telemetry` hangs the start procedure because it thinks
it's in an official release and tries to make a request.  We disable
it temporarily via config just to get a working build for now.
2021-12-21 13:51:22 -03:00
Feng Lee
c84598dae9 2.0 - move rel/ to emqttd-relx project 2016-07-21 18:29:04 +08:00
Feng
710890dd22 relx 2016-07-21 09:31:14 +08:00
Feng
2e200f253f 2.0 - erlang.mk to replace rebar 2016-07-19 17:46:05 +08:00
Feng
03d6710b60 gen_conf to improve the configuration of emqttd broker 2016-07-19 16:49:30 +08:00
Feng
61b2ab48ad merge emq10 2016-07-16 21:55:02 +08:00
Feng Lee
223c06fd68 fix ldap sslopts 2016-07-12 17:36:23 +08:00
Feng Lee
842df63605 merge master 2016-06-28 11:27:52 +08:00
Feng Lee
834e6f7269 Add MQTT specs. etc/vm.args: -env ERL_CRASH_DUMP log/emqttd_crash.dump 2016-06-27 09:11:09 +08:00
Feng Lee
fe3becbf9b Fix issue#599 - Reject empty clientId with non-clean session 2016-06-21 11:29:59 +08:00
Feng
eaf254e919 Merge branch 'master' into plus 2016-06-05 12:51:35 +08:00
Feng Lee
791c50282f Merge pull request #566 from emqtt/issue#557
load 'observer' application and fix issue #557
2016-05-25 14:20:39 +08:00
Feng Lee
b0541ac18c load 'observer' application and fix issue #557 2016-05-25 14:19:25 +08:00
Feng Lee
9e9b074d84 error 2016-05-07 13:07:02 +08:00
Feng Lee
c7ecc0ace0 merge emq10 2016-05-07 10:30:22 +08:00
Feng Lee
76851e58fb atom_to_list(Username) 2016-05-03 18:31:58 +08:00
Feng Lee
631609f035 ensure gen_logger started 2016-05-02 15:15:05 +08:00
Feng
0d84c7474a rm plugins 2016-04-30 10:21:53 +08:00
Feng
16fcb2997e issue#516 - The erlang '-name' requires the fully qualified host name 2016-04-19 16:14:07 +08:00
Feng
e88fe8b6ae fix issue #479 2016-03-21 10:08:59 +08:00
Feng
9f3897d023 {idle_timeout, 30} and {subscription, true} 2016-03-15 01:34:01 +08:00
Feng
17f40f458f if_subsciption, async_subscribe 2016-03-14 13:21:35 +08:00
Feng
c626eadad4 0.17.0 config 2016-03-11 23:46:27 +08:00
Feng
faf05eb85a test cases for server, pubsub and router 2016-03-11 23:19:17 +08:00
Feng
32635af084 backend subscription 2016-03-08 13:51:21 +08:00
Feng
e76f35f5c1 fix issue #445 2016-02-16 02:46:03 +08:00
Feng
928780f322 common tests 2016-02-16 02:20:29 +08:00
Feng
5cf655286a config and data for unit test 2016-02-14 01:26:39 +08:00
Feng
712baa525c rm app.config 2016-01-24 10:33:09 +08:00
Feng
97ea3623c1 simple/priority queue 2016-01-24 10:32:29 +08:00
Feng
8c81879149 simple/priority queue 2016-01-24 10:32:25 +08:00
Feng
c0e3145147 add redis plugin 2016-01-21 10:40:56 +08:00
Feng
21cb2bea6e 2016 2016-01-15 13:43:22 +08:00
Feng
913d6f5ed8 default pubsub pool_size: 8 2016-01-12 14:11:18 +08:00
Feng
505864f791 format 2016-01-07 11:41:57 +08:00
Feng
5481635886 fix issue #410 - remove observer app 2015-12-17 19:59:47 +08:00
Feng
d0d5090bde uncomment presence module 2015-12-17 15:18:03 +08:00
Feng
714aa4dc9d subscription 2015-12-17 12:38:48 +08:00
Feng
2dd6d160f3 format 2015-12-10 15:04:13 +08:00
Feng
d1c2375f4b long_schedule 2015-12-07 22:16:17 +08:00
Feng
995949585b sysmon 2015-12-07 18:35:28 +08:00
Feng
a261f3c678 emqtt log 2015-12-06 12:03:05 +08:00