From 4ba281b306d8d0a24a0cc0b0c061507e102a7c25 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 30 Jun 2021 22:03:58 +0200 Subject: [PATCH] Fix listening service weirdly broken config upon first start Seems to only affect the second or the quic:// protocol --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7a559d6..f26b3ae 100644 --- a/scripts/install +++ b/scripts/install @@ -143,7 +143,7 @@ chown -R $app: $final_path ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Access the GUI via the following URL" -ynh_replace_string --match_string="tcp://default" --replace_string="default" --target_file="$config_file" +ynh_replace_string --match_string="tcp://quic:%2F%2F0.0.0.0:$sync_port" --replace_string="quic//0.0.0.0:$sync_port" --target_file="$config_file" ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd