@cryptotaxi247 / netdata-1 / commits / df73e4f13

Clarify that uninstaller.sh needs to be downloaded (#5315)

Also fix the header. Related to #5290.

Chris Akritidis committed Feb 2, 2019 at 12:54 UTC df73e4f13aa6a22a76294962acd0d6a177e8099f
1 file changed +3 -3
packaging/installer/UNINSTALL.md
+3 -3
@@ -1,4 +1,4 @@
1 -## Uninstalling netdata
1 +# Uninstalling netdata
2
3 Our self-contained uninstaller is able to remove netdata installations created with shell installer. It doesn't need any other netdata repository files to be run. All it needs is an .environment file, which is created during installation (with shell installer) and put in ${NETDATA_USER_CONFIG_DIR}/.environment (by default /etc/netdata/.environment). That file contains some parameters which are passed to our installer and which are needed during uninstallation process. Mainly two parameters are needed:
4 ```
@@ -14,8 +14,8 @@ A workflow for uninstallation looks like this:
14 NETDATA_PREFIX="<installation prefix>" # put what you used as a parameter to shell installed `--install` flag. Otherwise it should be empty
15 NETDATA_ADDED_TO_GROUPS="<additional groups>" # Additional groups for a user running netdata process
16 ```
17 -3. Run ./packaging/installer/netdata-uninstaller.sh --yes --env <path_to_environment_file>
18 -4. Done
17 +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 <path_to_environment_file>`. The default `path_to_environment_file` is `/etc/netdata`, it's the location of the file `.environment` that is used by the uninstaller.
18 +
19
20 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.
21