Added cron to SOGo, init config on start, added syslog to rmilter

This commit is contained in:
andryyy
2016-12-23 12:13:21 +01:00
parent b514ffb368
commit 29f343c193
6 changed files with 42 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
until mysql -u ${DBUSER} -p${DBPASS} ${DBNAME} -e ""; do
# Wait for MySQL to warm-up
while ! mysqladmin ping --host mysql --silent; do
sleep 1
done
@@ -89,7 +89,6 @@ echo ' </dict>
</dict>
</plist>' >> /var/lib/sogo/GNUstep/Defaults/sogod.plist
# Fix permissions
chown sogo:sogo -R /var/lib/sogo/
chmod 600 /var/lib/sogo/GNUstep/Defaults/sogod.plist