diff options
Diffstat (limited to 'tools/kingbird/install_kingbird.sh')
-rwxr-xr-x | tools/kingbird/install_kingbird.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/kingbird/install_kingbird.sh b/tools/kingbird/install_kingbird.sh index 7480e59..17bf41f 100755 --- a/tools/kingbird/install_kingbird.sh +++ b/tools/kingbird/install_kingbird.sh @@ -171,6 +171,9 @@ iniset ${KINGBIRD_CONF_FILE} database connection "mysql://$mysql_user:$mysql_pas iniset ${KINGBIRD_CONF_FILE} database max_overflow -1 iniset ${KINGBIRD_CONF_FILE} database max_pool_size 1000 +# Configure iptables +iptables -I INPUT -p tcp -m multiport --dports 8118 -m comment --comment "410 kingbird" -j ACCEPT + # Configure haproxy cat > /etc/haproxy/conf.d/180-kingbird-api.cfg <<EOF @@ -190,9 +193,6 @@ EOF service haproxy restart -# Configure iptables -iptables -I INPUT -p tcp -m multiport --dports 8118 -m comment --comment "410 kingbird" -j ACCEPT - # Run kingbird mkdir -p /var/log/kingbird |