forked from community/entgra-emqx-docker
parent
c88adc8626
commit
5ee07c57a9
@ -0,0 +1,9 @@
|
|||||||
|
#!/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
|
Loading…
Reference in new issue