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