Update netdata.sh

tweak
This commit is contained in:
tteckster 2023-12-19 20:23:19 -05:00 committed by GitHub
parent 524e80e881
commit fb394e9e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ echo -e "\nInstalled NetData (http://$(hostname -I | awk '{print $1}'):19999)\n"
uninstall() { uninstall() {
systemctl stop netdata 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 /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 rm -rf /etc/apt/trusted.gpg.d/netdata-archive-keyring.gpg
systemctl daemon-reload systemctl daemon-reload