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

Multi instance (#61)

* multi_instance: true

* test multi_instance

* fix a typo? (weight)
This commit is contained in:
OniriCorpe 2022-03-22 06:53:15 +01:00 committed by GitHub
parent d1d3af6ccd
commit 1186b5431a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View file

@ -17,7 +17,7 @@
upgrade=1 from_commit=aaa9c9534b01a210989aceb4ad4d2b9c585be6df
upgrade=1 from_commit=12ee6097f4f48e6fb765afbe25dd10345e9c8adb
backup_restore=1
multi_instance=0
multi_instance=1
change_url=1
;;; Options
Email=

View file

@ -24,14 +24,15 @@
"requirements": {
"yunohost": ">= 4.3.0"
},
"multi_instance": false,
"multi_instance": true,
"services": [
"nginx",
"php8.0-fpm",
"mysql"
],
"arguments": {
"install": [{
"install": [
{
"name": "domain",
"type": "domain"
},
@ -52,7 +53,20 @@
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["de", "en", "es_ES", "fa", "fr", "it", "lt", "nl", "pl", "pt_PT", "uk", "zh_CN"],
"choices": [
"de",
"en",
"es_ES",
"fa",
"fr",
"it",
"lt",
"nl",
"pl",
"pt_PT",
"uk",
"zh_CN"
],
"default": "en"
},
{
@ -66,4 +80,4 @@
}
]
}
}
}

View file

@ -146,7 +146,7 @@ chown $app:$app $final_path/.env
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..." --weight=50
ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary
if [ $is_public -eq 1 ]