mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
commit
a2c317a898
5 changed files with 6 additions and 7 deletions
|
@ -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.
|
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.
|
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
|
**Demo:** https://try.nodebb.org
|
||||||
|
|
||||||
|
|
|
@ -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.
|
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.
|
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
|
**Démo :** https://try.nodebb.org
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Forum software built for the modern web",
|
"en": "Forum software built for the modern web",
|
||||||
"fr": "Logiciel de forum conçu pour le Web moderne"
|
"fr": "Logiciel de forum conçu pour le Web moderne"
|
||||||
},
|
},
|
||||||
"version": "1.19.1~ynh1",
|
"version": "1.19.3~ynh1",
|
||||||
"url": "https://nodebb.org",
|
"url": "https://nodebb.org",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
|
@ -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=path --value=$path_url
|
||||||
ynh_app_setting_set --app=$app --key=$secret --value="$secret"
|
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=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
|
# STANDARD MODIFICATIONS
|
||||||
|
@ -131,6 +131,7 @@ setup="{
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
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
|
ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" 2>/dev/null
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -143,7 +144,6 @@ chown $app:$app "$final_path/config.json"
|
||||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||||
|
|
||||||
env_path=$PATH
|
env_path=$PATH
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Checking version..."
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
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_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
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
|
Loading…
Reference in a new issue