summaryrefslogtreecommitdiffstats
path: root/installer/UNINSTALL.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 14:38:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-12-28 14:38:58 +0000
commitfa4ece01aed54c9a146af868be0d3db611ded229 (patch)
tree319cffc5f6c2abd7cce514383716153469fc6295 /installer/UNINSTALL.md
parentNew upstream version 1.11.0+dfsg (diff)
downloadnetdata-fa4ece01aed54c9a146af868be0d3db611ded229.tar.xz
netdata-fa4ece01aed54c9a146af868be0d3db611ded229.zip
New upstream version 1.11.1+dfsgupstream/1.11.1+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--installer/UNINSTALL.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/installer/UNINSTALL.md b/installer/UNINSTALL.md
new file mode 100644
index 000000000..4f9a84d03
--- /dev/null
+++ b/installer/UNINSTALL.md
@@ -0,0 +1,36 @@
+# Uninstalling netdata
+
+## netdata was installed from source (or `kickstart.sh`)
+
+The script `netdata-installer.sh` generates another script called `netdata-uninstaller.sh`.
+
+To uninstall netdata, run:
+
+```
+cd /path/to/netdata.git
+./netdata-uninstaller.sh --force
+```
+
+The uninstaller will ask you to confirm all deletions.
+
+## netdata was installed with `kickstart-static64.sh` package
+
+Stop netdata with one of the following:
+
+- `service netdata stop` (non-systemd systems)
+- `systemctl stop netdata` (systemd systems)
+
+Disable running netdata at startup, with one of the following (based on your distro):
+
+- `rc-update del netdata`
+- `update-rc.d netdata disable`
+- `chkconfig netdata off`
+- `systemctl disable netdata`
+
+Delete the netdata files:
+
+1. `rm -rf /opt/netdata`
+2. `groupdel netdata`
+3. `userdel netdata`
+4. `rm /etc/logrotate.d/netdata`
+5. `rm /etc/systemd/system/netdata.service` or `rm /etc/init.d/netdata`, depending on the distro.