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

Update upgrade

This commit is contained in:
ericgaspar 2021-05-18 14:16:09 +02:00
parent f97b72a21a
commit 7bbab29a9c
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -102,6 +102,10 @@ then
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/dist/user.css $final_path/.env" ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/dist/user.css $final_path/.env"
fi fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================
@ -157,9 +161,6 @@ fi
# SECURE FILES AND DIRECTORIES # SECURE FILES AND DIRECTORIES
#================================================= #=================================================
# Set permissions to app files
chown -R $app: $final_path
chmod 750 $final_path/bootstrap/cache
chown -R $app: $public_path chown -R $app: $public_path
chmod 755 $public_path chmod 755 $public_path