diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 2314b9b..7ae98e7 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,4 +1,4 @@ ## Configuration -You can configure HedgeDoc by editing this file `/var/www/hedgedoc/config.json` using the [documentation](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md) +You can configure HedgeDoc by editing this file `__INSTALL_DIR__/config.json` using the [documentation](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md) When you finished editing the configuration, for your changes to take effect, you will have to run: `sudo systemctl restart hedgedoc`. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index aefa446..331dbd2 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,4 +1,4 @@ ## Configuration -Vous pouvez configurer HedgeDoc en modifiant le fichier `/var/www/hedgedoc/config.json` et en vous aidant de la [documentation](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md) +Vous pouvez configurer HedgeDoc en modifiant le fichier `__INSTALL_DIR__/config.json` et en vous aidant de la [documentation](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md) Lorsque vous avez terminé de modifier la configuration, pour que vos modifications prennent effet, vous devrez exécuter : `sudo systemctl restart hedgedoc`. diff --git a/manifest.toml b/manifest.toml index df7e708..66ce6b7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -17,11 +17,11 @@ admindoc = "https://docs.hedgedoc.org/" code = "https://github.com/hedgedoc/hedgedoc" [integration] -yunohost = ">= 11.1.15" +yunohost = ">= 11.1.16" architectures = "all" multi_instance = true ldap = true -sso = false +sso = true disk = "50M" ram.build = "50M" ram.runtime = "50M" diff --git a/scripts/upgrade b/scripts/upgrade index 600d2d3..fc592db 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,7 +66,6 @@ then ynh_setup_source --dest_dir=$install_dir --keep="config.json" fi -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -87,7 +86,6 @@ ynh_add_systemd_config #============================================== # INSTALL HEDGEDOC #============================================== -ynh_script_progression --message="Building HedgeDoc... (this will take some time and resources!)" --weight=20 if [ "$upgrade_type" == "UPGRADE_APP" ] then