diff --git a/scripts/install b/scripts/install index 3e8b315..d7b68a7 100755 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ ynh_add_systemd_config --service=$app-rtorrent --template="rtorrent.service" ynh_script_progression --message="Integrating service in YunoHost..." yunohost service add $app -yunohost service add $app-rtorrent --needs_exposed_ports $rt_port +yunohost service add $app-rtorrent --needs_exposed_ports $port_rt #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index cacda15..39efbc7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -55,7 +55,7 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app-rtorrent.service" systemctl enable $app-rtorrent.service --quiet yunohost service add $app -yunohost service add $app-rtorrent --needs_exposed_ports $rt_port +yunohost service add $app-rtorrent --needs_exposed_ports $port_rt #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 35bc73c..cddd324 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,7 @@ ynh_add_systemd_config --service=$app-rtorrent --template="rtorrent.service" ynh_script_progression --message="Integrating service in YunoHost..." yunohost service add $app -yunohost service add $app-rtorrent --needs_exposed_ports $rt_port +yunohost service add $app-rtorrent --needs_exposed_ports $port_rt #================================================= # START SYSTEMD SERVICE