mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-24 08:32:50 +02:00
[Update, Config] Set mode 600 for mailcow.conf
This commit is contained in:
parent
837ee3b3b0
commit
5b8a983be2
@ -16,6 +16,7 @@ if [ -f mailcow.conf ]; then
|
||||
case $response in
|
||||
[yY][eE][sS]|[yY])
|
||||
mv mailcow.conf mailcow.conf_backup
|
||||
chmod 600 mailcow.conf_backup
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
@ -237,5 +238,7 @@ EOF
|
||||
|
||||
mkdir -p data/assets/ssl
|
||||
|
||||
chmod 600 mailcow.conf
|
||||
|
||||
# copy but don't overwrite existing certificate
|
||||
cp -n data/assets/ssl-example/*.pem data/assets/ssl/
|
||||
|
Loading…
Reference in New Issue
Block a user