From f754400f3a5050bd70a92e9ed3e873e19818f1fb Mon Sep 17 00:00:00 2001 From: Moul Date: Sun, 12 Mar 2017 20:00:12 +0100 Subject: [PATCH] [fix] endpoint addition do not works with other configurations. --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7aec83d..e7d0c52 100755 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,8 @@ sudo yunohost firewall allow TCP $port > /dev/null 2>&1 INSTALL_DUNITER_DEBIAN_PACKAGE # Configure Duniter node -sudo $app config --ipv4 127.0.0.1 --port $port --remoteh $domain --remotep 80 --noupnp --addep "BMAS $domain 443" +sudo $app config --ipv4 127.0.0.1 --port $port --remoteh $domain --remotep 80 --noupnp +sudo duniter config --addep "BMAS $domain 443" # Reset Duniter node's existing data (blockchain, not conf) sudo $app reset data > /dev/null