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:
parent
0222ad678c
commit
bff66a39ba
1 changed files with 12 additions and 0 deletions
|
@ -77,6 +77,18 @@ chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:$app "$final_path"
|
chown -R $app:$app "$final_path"
|
||||||
chmod +x "$final_path/minio"
|
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
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue