forked from community/entgra-emqx-docker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
338 B
12 lines
338 B
#!/bin/bash
|
|
|
|
echo "copying static content"
|
|
STATIC_CONFIG_PATH=/opt/emqx/lib/emqx_dashboard-4.4.10/priv/www/static/
|
|
cp /opt/emqx/static/css/* $STATIC_CONFIG_PATH/css/
|
|
cp /opt/emqx/static/img/* $STATIC_CONFIG_PATH/img/
|
|
|
|
cp /opt/emqx/configs/emqx_exhook.conf /opt/emqx/etc/plugins/
|
|
|
|
echo "Starting server.."
|
|
sh /opt/emqx/bin/emqx foreground
|