Merge branch 'master' of github.com:mailcow/mailcow-dockerized

This commit is contained in:
andryyy
2021-07-28 21:44:14 +02:00
4 changed files with 16 additions and 5 deletions

View File

@@ -10,4 +10,12 @@ if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
fi
# Run hooks
for file in /hooks/*; do
if [ -x "${file}" ]; then
echo "Running hook ${file}"
"${file}"
fi
done
exec "$@"

0
data/hooks/sogo/.gitkeep Normal file
View File