1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00

Update install

This commit is contained in:
ericgaspar 2022-01-30 18:09:29 +01:00
parent 6eb7eb76ef
commit 78da15c902
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -96,14 +96,14 @@ chmod +x "$final_path/minio"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK MINIO CLIENT # DOWNLOAD, CHECK AND UNPACK MINIO CLIENT
#================================================= #=================================================
# ynh_script_progression --message="Setting up MinIO client..." --weight=1 ynh_script_progression --message="Setting up MinIO client..." --weight=1
# ynh_setup_source --dest_dir="$mc_path" --source_id="mc" ynh_setup_source --dest_dir="$mc_path" --source_id="mc"
# chmod -R 750 "$mc_path" chmod -R 750 "$mc_path"
# chmod -R o-rwx "$mc_path" chmod -R o-rwx "$mc_path"
# chown -R $app:www-data "$mc_path" chown -R $app:www-data "$mc_path"
# chmod +x $mc_path/mc chmod +x $mc_path/mc
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -191,11 +191,11 @@ ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# SETUP MINIO CLIENT # SETUP MINIO CLIENT
#================================================= #=================================================
# ynh_script_progression --message="Configuring MinIO client..." --weight=1 ynh_script_progression --message="Configuring MinIO client..." --weight=1
# pushd $mc_path pushd $mc_path
# ynh_exec_warn_less sudo -u $app ./mc alias set minio "https://$domain" "$app" "$minio_key" ynh_exec_warn_less sudo -u $app ./mc alias set minio "https://$domain" "$app" "$minio_key" --api S3v4
# popd popd
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT