mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 19:23:20 +01:00
Update netdata.sh
tweak
This commit is contained in:
parent
524e80e881
commit
fb394e9e81
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user