mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
14 lines
232 B
Bash
Executable file
14 lines
232 B
Bash
Executable file
#!/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 npm
|
|
|
|
# Close opened port
|
|
sudo yunohost firewall disallow TCP $port
|