From fb394e9e8136145200064fcad75b367280fbdc18 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 19 Dec 2023 20:23:19 -0500 Subject: [PATCH] Update netdata.sh tweak --- misc/netdata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/netdata.sh b/misc/netdata.sh index 1005f065..01fd787f 100644 --- a/misc/netdata.sh +++ b/misc/netdata.sh @@ -36,7 +36,7 @@ echo -e "\nInstalled NetData (http://$(hostname -I | awk '{print $1}'):19999)\n" uninstall() { systemctl stop netdata -apt-get remove -y --purge netdata netdata-repo +apt-get remove --purge -y netdata netdata-repo rm -rf /var/log/netdata /var/lib/netdata /var/cache/netdata /etc/apt/sources.list.d/netdata.list rm -rf /etc/apt/trusted.gpg.d/netdata-archive-keyring.gpg systemctl daemon-reload