diff --git a/scripts/install b/scripts/install index bd5157d..dc77826 100644 --- a/scripts/install +++ b/scripts/install @@ -45,7 +45,7 @@ ynh_script_progression --message="Adding system configurations related to $app.. # Create a dedicated NGINX config ynh_add_nginx_config -yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $stream_port +yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $port_stream #================================================= # START SYSTEMD SERVICE @@ -59,4 +59,4 @@ ynh_systemd_action --service_name="$app" --action="start" # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed, HTSP port is $stream_port" --last +ynh_script_progression --message="Installation of $app completed, HTSP port is $port_stream" --last diff --git a/scripts/restore b/scripts/restore index 9c063fe..e5496aa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -45,7 +45,7 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" -yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $stream_port +yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $port_stream #================================================= # START SYSTEMD SERVICE @@ -60,4 +60,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app, HTSP port is $stream_port" --last +ynh_script_progression --message="Restoration completed for $app, HTSP port is $port_stream" --last diff --git a/scripts/upgrade b/scripts/upgrade index 8e6119b..940714a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,7 +59,7 @@ ynh_script_progression --message="Upgrading system configurations related to $ap # Create a dedicated NGINX config ynh_add_nginx_config -yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $stream_port +yunohost service add "$app" --description="TV streaming server and recorder" --needs_exposed_ports $port_stream #================================================= # START SYSTEMD SERVICE @@ -73,4 +73,4 @@ ynh_systemd_action --service_name="$app" --action="start" # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed, HTSP port is $stream_port" --last +ynh_script_progression --message="Upgrade of $app completed, HTSP port is $port_stream" --last