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

Trying to fix

This commit is contained in:
Limezy 2022-08-22 20:03:42 +07:00
parent a617fb0e72
commit d25e027c81

View file

@ -64,11 +64,13 @@ ynh_print_info --message="Declaring files to be backed up..."
# BACKUP MINIO
#=================================================
ynh_secure_remove --file="$mc_path/outlinestorage"
pushd "$mc_path"
ynh_exec_warn_less sudo -u minio mkdir outlinestorage
ynh_exec_warn_less sudo -u minio ./mc mirror --a minio/outlinestorage ./outlinestorage/
popd
ynh_secure_remove --file="$final_path/outlinestorage"
mv "$mc_path/outlinestorage" "$final_path/outlinestorage"
chown -R outline:www-data "$final_path/outlinestorage"