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:
parent
a617fb0e72
commit
d25e027c81
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue