mirror of
https://github.com/YunoHost-Apps/ergo_ynh.git
synced 2024-09-03 18:26:31 +02:00
fix
This commit is contained in:
parent
4d5fd1a2a8
commit
35076be70a
4 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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[@]}"
|
||||||
|
|
||||||
|
|
|
@ -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[@]}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue