[Postfix] Use Redis master if set

This commit is contained in:
andryyy
2020-02-05 10:58:04 +01:00
parent f6b3a6e874
commit 15fb2e22ea
3 changed files with 61 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
fi
exec "$@"