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

Remove data folder

This commit is contained in:
ericgaspar 2020-11-06 22:44:44 +01:00
parent 08863e09d3
commit 73fe25a6cd
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 9 additions and 9 deletions

View file

@ -419,12 +419,12 @@ chdir = __FINALPATH__
;php_admin_value[memory_limit] = 32M
; Common values to change to increase file upload limit
; php_admin_value[upload_max_filesize] = 50M
; php_admin_value[post_max_size] = 50M
php_admin_value[upload_max_filesize] = 200M
php_admin_value[post_max_size] = 200M
; php_admin_flag[mail.add_x_header] = Off
; Other common parameters
; php_admin_value[max_execution_time] = 600
php_admin_value[max_execution_time] = 200
; php_admin_value[max_input_time] = 300
; php_admin_value[memory_limit] = 256M
; php_admin_flag[short_open_tag] = On

View file

@ -38,7 +38,7 @@ ynh_backup --src_path="$final_path"
# BACKUP MEDIA
#=================================================
ynh_backup --src_path="/home/yunohost.$app" --is_big
#ynh_backup --src_path="/home/yunohost.$app" --is_big
#=================================================
# BACKUP THE NGINX CONFIGURATION

View file

@ -135,7 +135,7 @@ ynh_store_file_checksum "$final_path/.env"
# CREATE DIRECTORIES
#=================================================
mkdir -p /home/yunohost.$app/{uploads,data}
#mkdir -p /home/yunohost.$app/{uploads,data}
#=================================================
# SECURE FILES AND DIRECTORIES
@ -143,7 +143,7 @@ mkdir -p /home/yunohost.$app/{uploads,data}
# Set permissions to app files
chown -R $app: $final_path
chmod -R 750 /home/yunohost.$app/{uploads,data}
#chmod -R 750 /home/yunohost.$app/{uploads,data}
#=================================================
# SETUP SSOWAT

View file

@ -65,10 +65,10 @@ ynh_system_user_create --username=$app
#=================================================
# RESTORE DATA
#=================================================
ynh_script_progression --message="Restoring Lychee data..."
#ynh_script_progression --message="Restoring Lychee data..."
# Use --not_mandatory for the data directory, because if the backup has been made with BACKUP_CORE_ONLY, there's no data into the backup.
ynh_restore_file --origin_path="/home/yunohost.$app" --not_mandatory
#ynh_restore_file --origin_path="/home/yunohost.$app" --not_mandatory
#=================================================
# RESTORE USER RIGHTS

View file

@ -138,7 +138,7 @@ ynh_store_file_checksum --file="$final_path/.env"
# Set permissions on app files
chown -R $app: $final_path
chmod -R 750 /home/yunohost.$app/{uploads,data}
#chmod -R 750 /home/yunohost.$app/{uploads,data}
#=================================================
# RELOAD NGINX