#!/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