blob: ce28c34ffd6ceb842a8744aee00d17625f738bb6 [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001#!/bin/bash
2
3if [[ "${SKIP_SOGO}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
4 echo "SKIP_SOGO=y, skipping SOGo..."
5 sleep 365d
6 exit 0
7fi
8
9if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
10 cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
11fi
12
13exec "$@"