diff --git a/README.md b/README.md index dd5c9be..84ed3c9 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform. -**Shipped version:** 5.0.0~ynh1 +**Shipped version:** 5.0.0~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 2e62ae8..0159d4d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po ownCloud Infinite Scale (oCIS) est la nouvelle plateforme de synchronisation et de partage de fichiers qui constituera la base de votre plateforme de gestion de données. -**Version incluse :** 5.0.0~ynh1 +**Version incluse :** 5.0.0~ynh2 ## Captures d’écran diff --git a/conf/.env b/conf/.env index e0f110b..abd7eab 100644 --- a/conf/.env +++ b/conf/.env @@ -10,10 +10,10 @@ OCIS_FORCE_CONFIG_OVERWRITE=true OCIS_CONFIG_DIR=__INSTALL_DIR__ OCIS_BASE_DATA_PATH=__DATA_DIR__ -#IDM_ADMIN_PASSWORD=__PASSWORD__ - OCIS_DEFAULT_LANGUAGE=__LANGUAGE__ +#OCIS_EXCLUDE_RUN_SERVICES=thumbnails + #AUTH_BASIC_AUTH_MANAGER=ldap #OCIS_LDAP_URI=ldap://127.0.0.1:389 #OCIS_LDAP_USER_BASE_DN='ou=users,dc=yunohost,dc=org' diff --git a/conf/systemd.service b/conf/systemd.service index f96ae00..c7cf706 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=ownCloud Infinite Scale server +Description=ownCloud: Infinite Scale server [Service] Type=simple diff --git a/manifest.toml b/manifest.toml index 7287364..d830fa2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,10 +2,10 @@ packaging_format = 2 id = "owncloud" name = "ownCloud" -description.en = "Online storage, file sharing platform and various other applications" -description.fr = "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications" +description.en = "Online storage, file sharing platform" +description.fr = "Stockage en ligne, plateforme de partage de fichiers" -version = "5.0.0~ynh1" +version = "5.0.0~ynh2" maintainers = ["eric_G"] diff --git a/scripts/change_url b/scripts/change_url index 3a9b28d..f7c2e52 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -25,6 +25,16 @@ ynh_script_progression --message="Updating NGINX web server configuration..." -- ynh_change_url_nginx_config +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Adding a configuration file..." --weight=1 + +ynh_add_config --template=".env" --destination="$install_dir/ocis.env" + +chmod 400 "$install_dir/ocis.env" +chown $app:$app "$install_dir/ocis.env" + #================================================= # GENERIC FINALISATION #=================================================