1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Merge pull request #31 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-03-06 20:04:13 +01:00 committed by GitHub
commit a2c317a898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 7 deletions

View file

@ -18,7 +18,7 @@ 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.19.1~ynh1
**Shipped version:** 1.19.3~ynh1
**Demo:** https://try.nodebb.org

View file

@ -14,7 +14,7 @@ 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.19.1~ynh1
**Version incluse :** 1.19.3~ynh1
**Démo :** https://try.nodebb.org

View file

@ -6,7 +6,7 @@
"en": "Forum software built for the modern web",
"fr": "Logiciel de forum conçu pour le Web moderne"
},
"version": "1.19.1~ynh1",
"version": "1.19.3~ynh1",
"url": "https://nodebb.org",
"upstream": {
"license": "GPL-3.0",

View file

@ -50,7 +50,7 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=$secret --value="$secret"
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=password --value=$password
ynh_app_setting_set --app=$app --key=password --value="$password"
#=================================================
# STANDARD MODIFICATIONS
@ -131,6 +131,7 @@ setup="{
pushd $final_path
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install lodash --save
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" 2>/dev/null
popd
@ -143,7 +144,6 @@ chown $app:$app "$final_path/config.json"
ynh_script_progression --message="Configuring a systemd service..." --weight=1
env_path=$PATH
# Create a dedicated systemd config
ynh_add_systemd_config

View file

@ -29,7 +29,6 @@ port=$(ynh_app_setting_get --app=$app --key=port)
#=================================================
# CHECK VERSION
#=================================================
ynh_script_progression --message="Checking version..."
upgrade_type=$(ynh_check_app_version_changed)
@ -54,7 +53,7 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
#=================================================
# ENSURE DOWNWARD COMPATIBILITY