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.
10 lines
211 B
10 lines
211 B
6 months ago
|
#!/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
|