1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/limesurvey_ynh.git synced 2024-09-03 19:36:32 +02:00
This commit is contained in:
ericgaspar 2021-07-12 14:21:39 +02:00
parent ca4ebdc7e1
commit 8ee70b43ec
3 changed files with 9 additions and 3 deletions

View file

@ -88,7 +88,9 @@ ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 755 "$final_path/{tmp, upload, application/config"
chmod 755 "$final_path/tmp"
chmod 755 "$final_path/upload"
chmod 755 "$final_path/application/config/"
#=================================================
# NGINX CONFIGURATION

View file

@ -73,7 +73,9 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 755 "$final_path/{tmp, upload, application/config"
chmod 755 "$final_path/tmp"
chmod 755 "$final_path/upload"
chmod 755 "$final_path/application/config/"
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION

View file

@ -105,7 +105,9 @@ fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 755 "$final_path/{tmp, upload, application/config"
chmod 755 "$final_path/tmp"
chmod 755 "$final_path/upload"
chmod 755 "$final_path/application/config/"
#=================================================
# NGINX CONFIGURATION