From 66564c2324abc58b24327b763e1113ff781156a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Feb 2019 20:34:01 +0100 Subject: Adding upstream version 1.12.1. Signed-off-by: Daniel Baumann --- packaging/installer/UNINSTALL.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'packaging/installer/UNINSTALL.md') diff --git a/packaging/installer/UNINSTALL.md b/packaging/installer/UNINSTALL.md index 511693b48..e86a3390e 100644 --- a/packaging/installer/UNINSTALL.md +++ b/packaging/installer/UNINSTALL.md @@ -8,14 +8,19 @@ NETDATA_ADDED_TO_GROUPS A workflow for uninstallation looks like this: -1. Find your .environment file +1. Find your `.environment` file, which is usually `/etc/netdata/.environment` in a default installation. 2. If you cannot find that file and would like to uninstall netdata, then create new file with following content: ``` NETDATA_PREFIX="" # put what you used as a parameter to shell installed `--install` flag. Otherwise it should be empty NETDATA_ADDED_TO_GROUPS="" # Additional groups for a user running netdata process ``` -3. Download [netdata-uninstaller.sh](https://github.com/netdata/netdata/blob/master/packaging/installer/netdata-uninstaller.sh) and run it as follows: `netdata-uninstaller.sh --yes --env `. The default `path_to_environment_file` is `/etc/netdata`, it's the location of the file `.environment` that is used by the uninstaller. - +3. Download, chmod and run netdata-uninstaller.sh. +``` +wget https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/netdata-uninstaller.sh +chmod +x ./netdata-uninstaller.sh +./netdata-uninstaller.sh --yes --env +``` +The default `environment_file` is `/etc/netdata/.environment`. Note: This uninstallation method assumes previous installation with netdata-installer.sh or kickstart script. Currently using it when netdata was installed by a package manager can work or cause unexpected results. -- cgit v1.2.3