Merge branch 'testing' into env

This commit is contained in:
eric committed 2026-10-26 15:44:30 +01:00
commit 58eac95ac3
9 files changed
+12 -36

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
#!/bin/bash
#=================================================
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================
nodejs_version="16"
-1
View File
@@ -1,6 +1,5 @@
#!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
ynh_print_info "Declaring files to be backed up..."
-1
View File
@@ -1,6 +1,5 @@
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
-8
View File
@@ -1,15 +1,7 @@
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression "Installing dependencies..."
ynh_nodejs_install
#=================================================
# CREATE A REDIS DATABASE
#=================================================
-3
View File
@@ -1,6 +1,5 @@
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
@@ -18,8 +17,6 @@ ynh_redis_remove_db "$redis_db"
ynh_config_remove_nginx
ynh_nodejs_remove
#=================================================
# END OF SCRIPT
#=================================================
-3
View File
@@ -1,6 +1,5 @@
#!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================
@@ -24,8 +23,6 @@ ynh_restore "$data_dir"
#=================================================
ynh_script_progression "Reinstalling dependencies..."
ynh_nodejs_install
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore "/etc/systemd/system/$app.service"
-8
View File
@@ -1,6 +1,5 @@
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
@@ -26,13 +25,6 @@ ynh_setup_source --dest_dir="$install_dir" --keep=".env" --full_replace
chmod +x "$install_dir/server/bin/prod.js"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression "Upgrading dependencies..."
ynh_nodejs_install
#=================================================
# NGINX CONFIGURATION
#=================================================