Browse Source

fix: make run failed by check acl file

某文 2 năm trước cách đây
mục cha
commit
5350a4a8c3
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      dev

+ 3 - 2
dev

@@ -321,13 +321,14 @@ boot() {
     ## Make erl command aware where to load all the beams
     ## Make erl command aware where to load all the beams
     ## this should be done before every erl command
     ## this should be done before every erl command
     prepare_erl_libs "$PROFILE"
     prepare_erl_libs "$PROFILE"
+    ## make sure copy acl.conf and certs to etc before render_hocon_conf
+    ## hocon will check rules inside acl.conf.
+    copy_other_conf_files
     render_hocon_conf
     render_hocon_conf
     generate_app_conf
     generate_app_conf
     append_args_file
     append_args_file
-    copy_other_conf_files
     APPS="$(apps_to_load)"
     APPS="$(apps_to_load)"
 
 
-
     BOOT_SEQUENCE="
     BOOT_SEQUENCE="
         Apps=[${APPS}],
         Apps=[${APPS}],
         ok=lists:foreach(fun application:load/1, Apps),
         ok=lists:foreach(fun application:load/1, Apps),