mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
Update upgrade
This commit is contained in:
parent
ca1a3424ec
commit
c526e09811
1 changed files with 2 additions and 2 deletions
|
@ -137,8 +137,8 @@ if ynh_compare_current_package_version --comparison lt --version 2022.12.12~ynh1
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Moving old Filesystem to secure MinIO start"
|
ynh_script_progression --message="Moving old Filesystem to secure MinIO start"
|
||||||
tmp="/tmp/minio"
|
tmp="/tmp/minio"
|
||||||
mv "$datadir/" "$tmp"
|
ynh_exec_warn_less cp -Ra "$datadir/*" "$tmp"
|
||||||
mkdir "$datadir"
|
ynh_exec_warn_less mkdir "$datadir"
|
||||||
chmod 750 "$datadir"
|
chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue