#!/bin/bash set -eu set -o pipefail if [[ -d /etc/rsyslog.d ]] && [[ ! -e /etc/rsyslog.d/49-haproxy.conf ]]; then cat >> /etc/rsyslog.d/49-haproxy.conf <