Skip to content

Commit

Permalink
Improve logs accessibility. (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-nubla authored Jul 10, 2024
1 parent 3c842de commit 4d297cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions emqx/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ arch:
- amd64
map:
- ssl
- addon_config:rw
options:
env_vars: []
host_network: true
Expand Down
1 change: 1 addition & 0 deletions emqx/rootfs/etc/s6-overlay/s6-rc.d/emqx/run
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export EMQX_NODE__ETC_DIR="/data/emqx/etc"
export EMQX_NODE__NAME="${EMQX_NAME}@${EMQX_HOST}.local"
export EMQX_PLUGINS__INSTALL_DIR="/data/emqx/plugins"
export EMQX_RPC__PORT_DISCOVERY="manual"
export EMQX_LOG_DIR="/config/log"

# Load custom environment variables
for var in $(bashio::config 'env_vars|keys'); do
Expand Down
3 changes: 0 additions & 3 deletions emqx/rootfs/etc/s6-overlay/s6-rc.d/init-emqx/run
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@
mkdir -p \
/data/emqx/data \
/data/emqx/etc \
/data/emqx/log \
/data/emqx/plugins

ln -s /data/emqx/log /opt/emqx/log

0 comments on commit 4d297cc

Please sign in to comment.