init_secrets: change file mode when making .env file

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2022-06-12 19:34:31 +03:00
parent 99ac2acc0d
commit b704aee0fc
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -16,3 +16,5 @@ then
exit 255 exit 255
fi fi
echo "first_user_pass=$firstpass" >> .env echo "first_user_pass=$firstpass" >> .env
chmod 600 .env