1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tvheadend_ynh.git synced 2024-10-01 13:34:50 +02:00
This commit is contained in:
Salamandar 2024-01-14 22:43:33 +01:00
parent 74beb22683
commit 7dda7b580b
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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