From b3683c0f07bd190ed0f904661f27f20f4fc57d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 14:00:23 +0100 Subject: [PATCH] remove nginx --- scripts/backup | 2 +- scripts/change_url | 2 +- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/backup b/scripts/backup index 10ad648..30098d5 100755 --- a/scripts/backup +++ b/scripts/backup @@ -25,7 +25,7 @@ ynh_backup --src_path="$install_dir" # BACKUP THE NGINX CONFIGURATION #================================================= -ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" +#ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # BACKUP LOGROTATE diff --git a/scripts/change_url b/scripts/change_url index de9cf86..a9e44dc 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -24,7 +24,7 @@ ynh_systemd_action --service_name=rustdesksignal --action="stop" --log_path="sys #================================================= ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 -ynh_change_url_nginx_config +#ynh_change_url_nginx_config #================================================= # GENERIC FINALISATION diff --git a/scripts/install b/scripts/install index b7abe21..d7ea4dc 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ chmod +x "$install_dir/hbbs" ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 # Create a dedicated NGINX config using the conf/nginx.conf template -ynh_add_nginx_config +#ynh_add_nginx_config # Create a dedicated systemd config ynh_add_systemd_config --service=rustdeskrelay --template=rustdeskrelay.service diff --git a/scripts/remove b/scripts/remove index 509a8ce..31d3b85 100755 --- a/scripts/remove +++ b/scripts/remove @@ -31,7 +31,7 @@ fi ynh_remove_systemd_config --service=rustdeskrelay ynh_remove_systemd_config --service=rustdesksignal -ynh_remove_nginx_config +#ynh_remove_nginx_config # Remove the app-specific logrotate config ynh_remove_logrotate diff --git a/scripts/restore b/scripts/restore index 8b4d10d..d03e685 100755 --- a/scripts/restore +++ b/scripts/restore @@ -29,7 +29,7 @@ chmod +x "$install_dir/hbbs" #================================================= ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 -ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +#ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" # Create log directory mkdir -p /var/log/$app diff --git a/scripts/upgrade b/scripts/upgrade index 51b3061..6ee66dd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -43,7 +43,7 @@ chmod +x "$install_dir/hbbs" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -ynh_add_nginx_config +#ynh_add_nginx_config # Create a dedicated systemd config ynh_add_systemd_config --service=rustdeskrelay --template=rustdeskrelay.service