mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
Merge pull request #7 from Limezy/mc-setup-upgrade
Setup mc client at upgrade
This commit is contained in:
commit
30efd817a2
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
|
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
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue