Force geard to listen on ::

By default geard only listens on ipv4 0.0.0.0 which means ipv6
connectiosn don't work. Because we run dual stack and things expect ipv6
to work (we have AAAA dns records after all) force geard to listen on ::
which will accept ipv6 and ipv4 connections.

Change-Id: Ibf3bfc5f80ca139b375ee2902dc3149ac791ef96
This commit is contained in:
Clark Boylan 2018-10-18 15:47:14 -07:00
parent 79ef165477
commit 772a94ff6d
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ USER=logprocessor
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
DAEMON_ARGS="-p $GEARD_PORT --pidfile $PIDFILE"
DAEMON_ARGS="--listen-address $GEARD_LISTEN_ADDRESS -p $GEARD_PORT --pidfile $PIDFILE"
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh

View File

@ -3,4 +3,5 @@ export STATSD_HOST=<%= @statsd_host %>
export STATSD_PORT=8125
export STATSD_PREFIX="logstash.geard"
<% end %>
export GEARD_LISTEN_ADDRESS=::
export GEARD_PORT=<%= @geard_port %>