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