mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[enh] remove script: uCoin –> Duniter.
This commit is contained in:
parent
65f02796d1
commit
baf705770f
1 changed files with 8 additions and 9 deletions
|
@ -2,19 +2,18 @@
|
||||||
|
|
||||||
#set -e
|
#set -e
|
||||||
|
|
||||||
app=ucoin
|
app=duniter
|
||||||
domain=$(sudo yunohost app setting $app domain)
|
domain=$(sudo yunohost app setting $app domain)
|
||||||
port=$(sudo yunohost app setting $app port)
|
port=$(sudo yunohost app setting $app port)
|
||||||
|
|
||||||
# Remove uCoin
|
# Remove Duniter
|
||||||
UCOIN_DIR="/home/admin/.ucoin"
|
source ~/.bashrc
|
||||||
[ -s "$UCOIN_DIR/ucoin.sh" ] && . "$UCOIN_DIR/ucoin.sh"
|
$app stop
|
||||||
ucoind stop
|
#rm -Rf $DUNITER_DIR
|
||||||
rm -Rf $UCOIN_DIR
|
#rm -Rf /home/admin/.config/$app/
|
||||||
rm -Rf /home/admin/.config/ucoin/
|
|
||||||
|
|
||||||
# Remove uCoin service to YunoHost monitoring
|
# Remove Duniter service to YunoHost monitoring
|
||||||
sudo yunohost service remove ucoin
|
sudo yunohost service remove $app
|
||||||
|
|
||||||
# Remove proxy_pass
|
# Remove proxy_pass
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
Loading…
Reference in a new issue