14 lines
265 B
Bash
Executable File
14 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ "${SKIP_SOGO}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
|
|
echo "SKIP_SOGO=y, skipping SOGo..."
|
|
sleep 365d
|
|
exit 0
|
|
fi
|
|
|
|
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
|
|
cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
|
|
fi
|
|
|
|
exec "$@"
|