mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
cleaning
This commit is contained in:
parent
9a6aaff4c3
commit
e62f9ce423
3 changed files with 20 additions and 6 deletions
|
@ -12,4 +12,11 @@ OCIS_BASE_DATA_PATH=__DATA_DIR__
|
|||
|
||||
|
||||
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"
|
|
@ -36,10 +36,17 @@ ram.runtime = "50M"
|
|||
[install.init_main_permission]
|
||||
type = "group"
|
||||
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]
|
||||
type = "user"
|
||||
|
||||
|
||||
[install.password]
|
||||
type = "password"
|
||||
|
||||
|
|
|
@ -37,12 +37,12 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/
|
|||
#=================================================
|
||||
# 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"
|
||||
#chown $app:$app "$install_dir/ocis.env"
|
||||
chmod 400 "$install_dir/ocis.env"
|
||||
chown $app:$app "$install_dir/ocis.env"
|
||||
|
||||
#=================================================
|
||||
# INSTALL OWNCLOUD
|
||||
|
|
Loading…
Add table
Reference in a new issue