From baf705770fc74b0169ba649d8c4ae054931cf130 Mon Sep 17 00:00:00 2001 From: Moul Date: Mon, 2 May 2016 15:08:31 +0200 Subject: [PATCH] =?UTF-8?q?[enh]=20remove=20script:=20uCoin=20=E2=80=93>?= =?UTF-8?q?=20Duniter.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/remove | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/remove b/scripts/remove index fa3be19..8392d08 100755 --- a/scripts/remove +++ b/scripts/remove @@ -2,19 +2,18 @@ #set -e -app=ucoin +app=duniter domain=$(sudo yunohost app setting $app domain) port=$(sudo yunohost app setting $app port) -# Remove uCoin -UCOIN_DIR="/home/admin/.ucoin" -[ -s "$UCOIN_DIR/ucoin.sh" ] && . "$UCOIN_DIR/ucoin.sh" -ucoind stop -rm -Rf $UCOIN_DIR -rm -Rf /home/admin/.config/ucoin/ +# Remove Duniter +source ~/.bashrc +$app stop +#rm -Rf $DUNITER_DIR +#rm -Rf /home/admin/.config/$app/ -# Remove uCoin service to YunoHost monitoring -sudo yunohost service remove ucoin +# Remove Duniter service to YunoHost monitoring +sudo yunohost service remove $app # Remove proxy_pass sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf