diff --git a/check_process b/check_process index 39bd3b0..3b5c363 100644 --- a/check_process +++ b/check_process @@ -44,7 +44,7 @@ # 1.17.0~ynh1 upgrade=1 from_commit=3d2f2de9824f4e76c506bb587e4167255ff5f900 backup_restore=1 - multi_instance=0 + multi_instance=1 port_already_use=0 change_url=1 ;;; Options diff --git a/conf/config.xml b/conf/config.xml index 90f3aea..f2c384a 100644 --- a/conf/config.xml +++ b/conf/config.xml @@ -10,7 +10,8 @@ false - default + tcp://0.0.0.0:__SYNC_PORT__ + quic://0.0.0.0:__SYNC_PORT__ default true true diff --git a/manifest.json b/manifest.json index a93b9fb..e3bfe6f 100644 --- a/manifest.json +++ b/manifest.json @@ -28,7 +28,7 @@ "requirements": { "yunohost": ">= 4.1.3" }, - "multi_instance": false, + "multi_instance": true, "services": [ "nginx" ], diff --git a/scripts/install b/scripts/install index fe5fbfb..e4938d0 100644 --- a/scripts/install +++ b/scripts/install @@ -142,7 +142,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