mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Fix
This commit is contained in:
parent
ca4ebdc7e1
commit
8ee70b43ec
3 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue