From 2ce28c4e3ff59e6e0feaa64fdf0f70ca212c70bb Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 21 Jul 2022 23:14:02 +0200 Subject: [PATCH] fix needs_exposed_ports --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index dcf3404..fcc3fdd 100755 --- a/scripts/install +++ b/scripts/install @@ -222,7 +222,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$needs_exposed_ports" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports $needs_exposed_ports #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index dbca386..aafd41a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -141,7 +141,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$needs_exposed_ports" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports $needs_exposed_ports #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 551cbb2..4a5239f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -185,7 +185,7 @@ if [ "$node_type" == "server" ] then needs_exposed_ports="$serf_port $needs_exposed_ports" fi -yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$needs_exposed_ports" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports $needs_exposed_ports #================================================= # START SYSTEMD SERVICE