mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Tests
This commit is contained in:
parent
cdb354a578
commit
916c2111a6
2 changed files with 5 additions and 5 deletions
|
@ -11,14 +11,14 @@
|
||||||
minio_domain="sub.domain.tld"
|
minio_domain="sub.domain.tld"
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=0
|
setup_sub_dir=1
|
||||||
setup_root=1
|
setup_root=1
|
||||||
setup_nourl=0
|
setup_nourl=0
|
||||||
setup_private=0
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=0
|
upgrade=1
|
||||||
#upgrade=1 from_commit=CommitHash
|
#upgrade=1 from_commit=CommitHash
|
||||||
backup_restore=0
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
change_url=0
|
change_url=0
|
||||||
;;; Options
|
;;; Options
|
||||||
|
|
|
@ -156,7 +156,7 @@ chown -R $app:www-data "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Setting up MinIO bucket for Outline..." --weight=1
|
ynh_script_progression --message="Setting up MinIO bucket for Outline..." --weight=1
|
||||||
|
|
||||||
if $minio_domain != "sub.domain.tld"; then
|
if $YNH_APP_ARG_MINIO_DOMAIN != "sub.domain.tld"; then
|
||||||
pushd "$mc_path"
|
pushd "$mc_path"
|
||||||
ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1"
|
ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1"
|
||||||
ynh_exec_warn_less sudo -u minio ./mc policy set public minio/outlinestorage
|
ynh_exec_warn_less sudo -u minio ./mc policy set public minio/outlinestorage
|
||||||
|
|
Loading…
Add table
Reference in a new issue