1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ergo_ynh.git synced 2024-09-03 18:26:31 +02:00
This commit is contained in:
Éric Gaspar 2023-06-06 21:56:58 +02:00
parent 4d5fd1a2a8
commit 35076be70a
4 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ server:
# for details. # for details.
# The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces: # The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces:
":__SECURE_PORT__": ":__PORT_SECURE__":
# this is a standard TLS configuration with a single certificate; # this is a standard TLS configuration with a single certificate;
# see the manual for instructions on how to configure SNI # see the manual for instructions on how to configure SNI
tls: tls:

View file

@ -104,7 +104,7 @@ ynh_use_logrotate
# Build the ports list # Build the ports list
needed_ports=() needed_ports=()
needed_ports+=( "$port" ) needed_ports+=( "$port" )
needed_ports+=( "$secure_port" ) needed_ports+=( "$port_secure" )
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1

View file

@ -74,7 +74,7 @@ ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
# Build the ports list # Build the ports list
needed_ports=() needed_ports=()
needed_ports+=( "$port" ) needed_ports+=( "$port" )
needed_ports+=( "$secure_port" ) needed_ports+=( "$port_secure" )
yunohost service add $app --description="A modern IRC server" --log="/var/log/$app/$app.log" ${needed_ports:+--needs_exposed_ports} "${needed_ports[@]}" yunohost service add $app --description="A modern IRC server" --log="/var/log/$app/$app.log" ${needed_ports:+--needs_exposed_ports} "${needed_ports[@]}"

View file

@ -74,7 +74,7 @@ ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
# Build the ports list # Build the ports list
needed_ports=() needed_ports=()
needed_ports+=( "$port" ) needed_ports+=( "$port" )
needed_ports+=( "$secure_port" ) needed_ports+=( "$port_secure" )
yunohost service add $app --description="A modern IRC server" --log="/var/log/$app/$app.log" ${needed_ports:+--needs_exposed_ports} "${needed_ports[@]}" yunohost service add $app --description="A modern IRC server" --log="/var/log/$app/$app.log" ${needed_ports:+--needs_exposed_ports} "${needed_ports[@]}"