mirror of
https://repository.entgra.net/community/entgra-emqx-docker.git
synced 2025-09-16 23:42:18 +00:00
10 lines
211 B
Bash
10 lines
211 B
Bash
#!/bin/bash
|
|
|
|
CONFIG_PATH=/opt/emqx/etc/plugins/emqx_exhook.conf
|
|
|
|
# Set emqx_exhook.conf configs
|
|
sed -i 's/${SG_HOSTNAME}/'$SG_HOSTNAME'/g' $CONFIG_PATH
|
|
|
|
echo "Starting server.."
|
|
sh /opt/emqx/bin/emqx foreground
|