[Update, Config] Set mode 600 for mailcow.conf

This commit is contained in:
andryyy
2019-03-12 23:23:38 +01:00
parent 837ee3b3b0
commit 5b8a983be2
2 changed files with 4 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ while (($#)); do
done
[[ ! -f mailcow.conf ]] && { echo "mailcow.conf is missing"; exit 1;}
chmod 600 mailcow.conf
source mailcow.conf
DOTS=${MAILCOW_HOSTNAME//[^.]};
if [ ${#DOTS} -lt 2 ]; then