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
e1d23df8d0
commit
0b1d6c416b
1 changed files with 2 additions and 1 deletions
|
@ -168,8 +168,9 @@ then
|
||||||
chmod -R o-rwx "$d"
|
chmod -R o-rwx "$d"
|
||||||
chown -R $app:www-data "$d"
|
chown -R $app:www-data "$d"
|
||||||
pushd $mc_path
|
pushd $mc_path
|
||||||
ynh_exec_warn_less sudo -u $app ./mc mirror --preserve --watch "$datadir/DATA_$d" minio/"$d"
|
ynh_exec_warn_less sudo -u $app ./mc mirror --preserve "$datadir/DATA_$d" minio/"$d"
|
||||||
popd
|
popd
|
||||||
|
ynh_secure_remove --file="DATA_$d"
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue