1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[fix] endpoint addition do not works with other configurations.

This commit is contained in:
Moul 2017-03-12 20:00:12 +01:00
parent 21da4e55b9
commit f754400f3a

View file

@ -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