From ca227db4af6f958ca91a2865847c4be1b937a851 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 13 Jun 2022 19:21:37 +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 fabf2ad..6c2ff7a 100755 --- a/scripts/install +++ b/scripts/install @@ -197,7 +197,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$client_port" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 40155db..11a5806 100755 --- a/scripts/restore +++ b/scripts/restore @@ -148,7 +148,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" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$client_port" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 2ce3628..7ec6e57 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -154,7 +154,7 @@ ynh_use_logrotate --non-append #================================================= ynh_script_progression --message="Integrating service in YunoHost..." -yunohost service add $app --log="/var/log/$app/$app.log" +yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports="$client_port" #================================================= # START SYSTEMD SERVICE