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