From fbda168615df86a92ea4933b35a054f8d3da738d Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Tue, 11 May 2021 21:25:49 +0200 Subject: [PATCH] Remove unnecessary --others-var --- scripts/change_url | 2 +- scripts/install | 7 ++----- scripts/upgrade | 8 ++------ 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 8affcac..cb1a90d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -89,7 +89,7 @@ then domain="$old_domain" path_url="$new_path" # Create a dedicated nginx config - ynh_add_nginx_config "port" + ynh_add_nginx_config fi # Change the domain for nginx diff --git a/scripts/install b/scripts/install index 94fea5a..b83889c 100644 --- a/scripts/install +++ b/scripts/install @@ -94,7 +94,7 @@ popd ynh_script_progression --message="Configuring nginx web server..." --weight=3 # Create a dedicated nginx config -ynh_add_nginx_config "port" +ynh_add_nginx_config #================================================= # CREATE DEDICATED USER @@ -159,10 +159,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=3 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="\ - port \ - RBENV_ROOT \ -" +ynh_add_systemd_config #================================================= # STORE THE CONFIG FILE CHECKSUM diff --git a/scripts/upgrade b/scripts/upgrade index e1dd49e..3ef94dc 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,8 +118,7 @@ fi ynh_script_progression --message="Upgrading nginx web server configuration..." --weight=3 # Create a dedicated nginx config -ynh_add_nginx_config "port" - +ynh_add_nginx_config #================================================= # CREATE DEDICATED USER @@ -188,10 +187,7 @@ fi ynh_script_progression --message="Upgrading systemd configuration..." --weight=4 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="\ - port \ - RBENV_ROOT \ -" +ynh_add_systemd_config #================================================= # STORE THE CONFIG FILE CHECKSUM