Allow db username/password setting in conf.d

pull/2051/head
Matthew Trescott 2018-03-06 19:23:01 -05:00
parent 7a9350c44f
commit 4c44c32a62
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ set -e
if [ "$1" = "configure" ]; then
. /etc/zm/zm.conf
for CONFFILE in /etc/zm/conf.d/*.conf; do
. "$CONFFILE"
done
# The logs can contain passwords, etc... so by setting group root, only www-data can read them, not people in the www-data group
chown www-data:root /var/log/zm