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

15 lines
240 B
Text
Raw Normal View History

2015-05-24 23:01:16 +02:00
#!/bin/bash
# Retrieve argument
port=$2
# Delete uCoin node daemon
pm2 delete ucoind
# Remove uCoin node
sudo npm remove ucoin pm2
sudo apt-get -y remove nodejs node-gyp npm
# Close opened port
sudo yunohost firewall disallow TCP $port