1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncloud_ynh.git synced 2024-09-03 19:56:25 +02:00
This commit is contained in:
Éric Gaspar 2023-11-13 10:40:13 +01:00
parent 9a6aaff4c3
commit e62f9ce423
3 changed files with 20 additions and 6 deletions

View file

@ -12,4 +12,11 @@ OCIS_BASE_DATA_PATH=__DATA_DIR__
IDM_ADMIN_PASSWORD=__PASSWORD__ IDM_ADMIN_PASSWORD=__PASSWORD__
IDM_ADMIN=__ADMIN__ #IDM_ADMIN=__ADMIN__
OCIS_DEFAULT_LANGUAGE=__LANGUAGE__
OCIS_LDAP_URI=ldap://localhost:9235
OCIS_LDAP_USER_BASE_DN="ou=users,dc=yunohost,dc=org"
OCIS_LDAP_GROUP_BASE_DN="ou=groups,dc=yunohost,dc=org"

View file

@ -37,6 +37,13 @@ ram.runtime = "50M"
type = "group" type = "group"
default = "visitors" default = "visitors"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "select"
choices = ["fr", "en"]
default = "fr"
[install.admin] [install.admin]
type = "user" type = "user"

View file

@ -37,12 +37,12 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
#ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
#ynh_add_config --template=".env" --destination="$install_dir/ocis.env" ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
#chmod 400 "$install_dir/ocis.env" chmod 400 "$install_dir/ocis.env"
#chown $app:$app "$install_dir/ocis.env" chown $app:$app "$install_dir/ocis.env"
#================================================= #=================================================
# INSTALL OWNCLOUD # INSTALL OWNCLOUD