mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update upgrade
This commit is contained in:
parent
ff22ab2d25
commit
5a7b2c6066
1 changed files with 2 additions and 2 deletions
|
@ -107,9 +107,9 @@ then
|
|||
minio_password=$(ynh_app_setting_get --app=$app --key=minio_password)
|
||||
mc_path=$(ynh_app_setting_get --app=$app --key=mc_path)
|
||||
|
||||
mkdir "/var/lib/$app"
|
||||
mkdir "/var/lib/$app/data"
|
||||
chown -R minio:www-data "/var/lib/$app"
|
||||
ynh_exec_warn_less sudo -u minio $mc_path/mc mirror --preserve "minio/outlinestorage" "/var/lib/$app"
|
||||
ynh_exec_warn_less sudo -u minio $mc_path/mc mirror --preserve "minio/outlinestorage" "/var/lib/$app/data"
|
||||
|
||||
chown -R $app:www-data "/var/lib/$app"
|
||||
ynh_script_progression --message="Data migration finished"
|
||||
|
|
Loading…
Add table
Reference in a new issue