mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
Fixes
This commit is contained in:
parent
4562cf832e
commit
9a50542e02
2 changed files with 6 additions and 4 deletions
|
@ -80,9 +80,11 @@
|
|||
{
|
||||
"name": "cpu",
|
||||
"ask": {
|
||||
"en": "Which CPU load limit would you like your uCoin node don't exceed?",
|
||||
"en": "Which CPU load limit percentage would you like your uCoin node don't exceed?",
|
||||
"fr": "Quel pourcentage de charge processeur ne souhaitez-vous pas que le nœud uCoin dépasse ?"
|
||||
}
|
||||
"example": "50",
|
||||
"default": "50"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -27,9 +27,9 @@ fi
|
|||
|
||||
# Check node availability
|
||||
if curl --output /dev/null --silent --head --fail "$sync_node:$sync_port/node/summary"; then
|
||||
echo "Node available."
|
||||
echo "Node $sync_node:$sync_port is available"
|
||||
else
|
||||
echo "Node $sync_node:$sync_port not available"
|
||||
echo "Node $sync_node:$sync_port is not available"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -49,7 +49,7 @@ ucoind init --autoconf
|
|||
ucoind config --remoteh $domain --port $port --remotep $port --salt $salt --passwd $password --cpu $cpu
|
||||
|
||||
# Synchronize uCoin node
|
||||
echo "Synchronizing with $sync_node:$sync_port. It may take a while. More than ten minutes"
|
||||
echo "Synchronizing with $sync_node:$sync_port. It may take a while."
|
||||
ucoind sync $sync_node $sync_port --nointeractive > /dev/null 2>&1
|
||||
|
||||
# Launch uCoin node
|
||||
|
|
Loading…
Add table
Reference in a new issue