From 702b8692c2b643fd7ce4c4422171cf3e8c9d1ec2 Mon Sep 17 00:00:00 2001 From: kam Date: Thu, 29 Jun 2017 10:04:25 +0200 Subject: [PATCH] if i make 2 call of ynh_find_port for 2 different need, will not work! --- manifest.json | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 920e3de..7dec0dc 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "url": "http://example.com" }, "requirements": { - "yunohost": ">> 2.4.0" + "yunohost": ">> 2.6.0" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index 3424e9c..065a6b3 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,7 @@ ynh_app_setting_set "$app" is_public "$is_public" mailadmin=$(ynh_user_get_info $admin mail) portNginx=$(ynh_find_port 8080) -portUnicorn=$(ynh_find_port 8080) +portUnicorn=$(ynh_find_port 9080) rdmPass=$(ynh_string_random 30) # Check domain/path availability