1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00

Protect .env

This commit is contained in:
yalh76 2022-01-24 23:04:50 +01:00
parent 25418ce144
commit 9691f58f35

View file

@ -70,6 +70,10 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
config="$final_path/.env"
chmod 400 "$config"
chown $app:$app "$config"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================