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

[mod] #26: do not display logs of debian package install and sync process.

This commit is contained in:
Moul 2016-10-14 14:50:13 +02:00
parent 07056ab512
commit e53082b137
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ version=$(echo $url | cut -d/ -f8)
# Retrieve debian package and install it # Retrieve debian package and install it
wget -nc --quiet $url -P /tmp wget -nc --quiet $url -P /tmp
deb="/tmp/duniter-server-$version-linux-$arch.deb" deb="/tmp/duniter-server-$version-linux-$arch.deb"
sudo dpkg -i $deb sudo dpkg -i $deb > /dev/null
sudo rm -f $deb sudo rm -f $deb
} }

View file

@ -68,7 +68,7 @@ sudo $app config --remoteh $domain --port $port --remotep $port --salt $salt --p
# Synchronize Duniter node # Synchronize Duniter node
echo "Synchronizing with $sync_node:$sync_port. It may take a while." echo "Synchronizing with $sync_node:$sync_port. It may take a while."
sudo $app sync $sync_node $sync_port --nointeractive sudo $app sync $sync_node $sync_port --nointeractive > /dev/null
# Launch Duniter node # Launch Duniter node
sudo $app webstart sudo $app webstart