1
0
Fork 0
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:
ericgaspar 2022-02-03 12:26:06 +01:00
parent 0222ad678c
commit bff66a39ba

View file

@ -77,6 +77,18 @@ chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"
chmod +x "$final_path/minio"
#=================================================
# DOWNLOAD, CHECK AND UNPACK MINIO CLIENT
#=================================================
ynh_script_progression --message="Setting up MinIO client..." --weight=1
ynh_setup_source --dest_dir="$mc_path" --source_id="mc"
chmod -R 750 "$mc_path"
chmod -R o-rwx "$mc_path"
chown -R $app:www-data "$mc_path"
chmod +x "$mc_path/mc"
#=================================================
# NGINX CONFIGURATION
#=================================================