mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
fix restore
This commit is contained in:
parent
a2f9a9828d
commit
b931a505c6
1 changed files with 9 additions and 9 deletions
|
@ -62,15 +62,6 @@ ynh_restore_file "$config_path"
|
||||||
# Restore state
|
# Restore state
|
||||||
ynh_restore_file "$state_path"
|
ynh_restore_file "$state_path"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# RESTORE USER RIGHTS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Restore permissions on app files
|
|
||||||
chown -R www-data:www-data $final_path
|
|
||||||
chown -R www-data:www-data $log_path
|
|
||||||
chown -R www-data:www-data $state_path
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -93,6 +84,15 @@ ynh_install_app_dependencies z-push-common z-push-backend-caldav z-push-backend-
|
||||||
|
|
||||||
ynh_restore_file "/etc/logrotate.d/$app"
|
ynh_restore_file "/etc/logrotate.d/$app"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RESTORE USER RIGHTS
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# Restore permissions on app files
|
||||||
|
chown -R www-data:www-data $final_path
|
||||||
|
chown -R www-data:www-data $log_path
|
||||||
|
chown -R www-data:www-data $state_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue