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

Warning after migration

This commit is contained in:
Limezy 2023-01-27 22:53:10 +07:00
parent d979d7c887
commit fdb5e3973e

View file

@ -170,6 +170,8 @@ then
if [ "$d" == "outlinestorage" ] if [ "$d" == "outlinestorage" ]
then then
ynh_exec_warn_less sudo -u $app ./mc policy set public minio/outlinestorage ynh_exec_warn_less sudo -u $app ./mc policy set public minio/outlinestorage
else
ynh_script_progression --message="Bucket is migrated and objects are now mirrored. However, make sure to set properly access policy of bucket $d. That part of the migration can't be automated, sorry ! You can log into the minio console to perform your changes."
fi fi
popd popd
ynh_secure_remove --file="DATA_$d" ynh_secure_remove --file="DATA_$d"