diff --git a/README.md b/README.md index 214af27..3196049 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,13 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance. Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community. -**Shipped version:** 1.18.3~ynh1 +**Shipped version:** 1.18.3~ynh2 **Demo:** https://try.nodebb.org ## Screenshots -![](./doc/screenshots/Ud1LrfI.png) +![](./doc/screenshots/screenshot.png) ## Disclaimers / important information diff --git a/README_fr.md b/README_fr.md index f5f8527..1f0b414 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,13 +14,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour NodeBB is built using the Node.js server-side Javascript platform, delivering unmatched performance. Building on this high performance platform means fast and dependable performance that will support even the biggest and most active community. -**Version incluse :** 1.18.3~ynh1 +**Version incluse :** 1.18.3~ynh2 **Démo :** https://try.nodebb.org ## Captures d'écran -![](./doc/screenshots/Ud1LrfI.png) +![](./doc/screenshots/screenshot.png) ## Avertissements / informations importantes diff --git a/conf/nginx.conf b/conf/nginx.conf index 0a6c5ae..5cd4c7f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,4 +18,7 @@ location __PATH__/ { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; + + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; } diff --git a/doc/screenshots/Ud1LrfI.png b/doc/screenshots/Ud1LrfI.png deleted file mode 100644 index 88bf7ef..0000000 Binary files a/doc/screenshots/Ud1LrfI.png and /dev/null differ diff --git a/doc/screenshots/screenshot.png b/doc/screenshots/screenshot.png new file mode 100644 index 0000000..5c9984d Binary files /dev/null and b/doc/screenshots/screenshot.png differ diff --git a/manifest.json b/manifest.json index fe3882d..d21fc39 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Forum software built for the modern web", "fr": "Logiciel de forum conçu pour le Web moderne" }, - "version": "1.18.3~ynh1", + "version": "1.18.3~ynh2", "url": "https://nodebb.org", "upstream": { "license": "GPL-3.0", diff --git a/scripts/install b/scripts/install index 6b0f0f8..ee6957e 100644 --- a/scripts/install +++ b/scripts/install @@ -91,20 +91,6 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_psql_test_if_first_run ynh_psql_setup_db --db_user=$db_name --db_name=$db_name -#================================================= -# SPECIFIC SETUP -#================================================= -# HANDLE LOG FILES AND LOGROTATE -#================================================= - -# Créer le dossier de log -mkdir -p /var/log/$app -touch /var/log/$app/$app.log -chown $app -R /var/log/$app - -# Configuration de logrotate -ynh_use_logrotate - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= @@ -157,6 +143,16 @@ ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --targ ynh_add_systemd_config +#================================================= +# SPECIFIC SETUP +#================================================= +# SETUP LOGROTATE +#================================================= +ynh_script_progression --message="Configuring log rotation..." --weight=1 + +# Configuration de logrotate +ynh_use_logrotate + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================