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

Fix #5. Stop ucoin daemon.

This commit is contained in:
Moul 2015-12-31 17:41:13 +04:00
parent 369fd22e6b
commit 1e6b9d4b2e
2 changed files with 5 additions and 0 deletions

View file

@ -53,6 +53,10 @@ echo "Synchronizing with $sync_node:$sync_port. It may take a while."
ucoind sync $sync_node $sync_port --nointeractive ucoind sync $sync_node $sync_port --nointeractive
# > /dev/null 2>&1 # > /dev/null 2>&1
# Fix uCoin launching
$UCOIN_DIR/node/bin/npm cache clean -f
$UCOIN_DIR/node/bin/npm install -g n
# Launch uCoin node # Launch uCoin node
ucoind start ucoind start

View file

@ -7,6 +7,7 @@ domain=$(sudo yunohost app setting $app domain)
port=$(sudo yunohost app setting $app port) port=$(sudo yunohost app setting $app port)
# Remove uCoin # Remove uCoin
ucoind delete
rm -Rf /home/admin/.ucoin rm -Rf /home/admin/.ucoin
rm -Rf /home/admin/.config/ucoin/ rm -Rf /home/admin/.config/ucoin/