mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
setup mc client
This commit is contained in:
parent
10036d2d9f
commit
a492534061
1 changed files with 9 additions and 0 deletions
|
@ -147,6 +147,15 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
|||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# SETUP MINIO CLIENT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring MinIO client..." --weight=1
|
||||
|
||||
pushd $mc_path
|
||||
ynh_exec_warn_less sudo -u $app ./mc alias set minio "https://$domain" "$app" "$minio_key" --api S3v4
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue