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:
parent
369fd22e6b
commit
1e6b9d4b2e
2 changed files with 5 additions and 0 deletions
|
@ -53,6 +53,10 @@ echo "Synchronizing with $sync_node:$sync_port. It may take a while."
|
|||
ucoind sync $sync_node $sync_port --nointeractive
|
||||
# > /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
|
||||
ucoind start
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ domain=$(sudo yunohost app setting $app domain)
|
|||
port=$(sudo yunohost app setting $app port)
|
||||
|
||||
# Remove uCoin
|
||||
ucoind delete
|
||||
rm -Rf /home/admin/.ucoin
|
||||
rm -Rf /home/admin/.config/ucoin/
|
||||
|
||||
|
|
Loading…
Reference in a new issue