diff options
author | odynik <odynik.ee@gmail.com> | 2022-04-20 09:33:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 09:33:36 +0300 |
commit | 69ca5926baf87283fba992dfb0019d684dc8297b (patch) | |
tree | bb81cbe3c98c1dcc6eac7160fc86db0fc3ba1b35 /packaging | |
parent | 9222d8f7ae15fa7f3084ff9010474be11e4ad6a6 (diff) |
[Uninstall Netdata] - Add description in the docs to use uninstaller script with force arg (#12687)
* [Uninstall Netdata] - Add doc description to uninstall with the force argument
* [Uninstall Netdata] - Fix missing indentation in bullets 3.1-2
* [Uninstall Netdata] - Highlighting with bold
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* [Uninstall Netdata] - Highlighting with bold 2
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* [Uninstall Netdata] - Highlighting header with bold
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
* [Uninstall Netdata] - Highlighting header with bold 2
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Tina Luedtke <kickoke@users.noreply.github.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/installer/UNINSTALL.md | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/packaging/installer/UNINSTALL.md b/packaging/installer/UNINSTALL.md index 87c76ca651..54ca771f9f 100644 --- a/packaging/installer/UNINSTALL.md +++ b/packaging/installer/UNINSTALL.md @@ -33,9 +33,21 @@ NETDATA_ADDED_TO_GROUPS="<additional groups>" # Additional groups for a user ru 3. Run `netdata-uninstaller.sh` as follows -```sh -${NETDATA_PREFIX}/usr/libexec/netdata/netdata-uninstaller.sh --yes --env <environment_file> -``` + 3.1 **Interactive mode (Default)** + + The default mode in the uninstaller script is **interactive**. This means that the script provides the user the option to reply with "yes" (`y`/`Y`) or "no" (`n`/`N`) to control the removal of each Netdata asset in the filesystem. + + ```sh + ${NETDATA_PREFIX}/usr/libexec/netdata/netdata-uninstaller.sh --yes --env <environment_file> + ``` + + 3.2 **Non-interactive mode** + + If you are sure and you know what you are doing, you can speed up the removal of the Netdata assets from the filesystem without any questions by using the force option (`-f`/`--force`). This option will remove all the Netdata assets in a **non-interactive** mode. + + ```sh + ${NETDATA_PREFIX}/usr/libexec/netdata/netdata-uninstaller.sh --yes --force --env <environment_file> + ``` Note: Existing installations may still need to download the file if it's not present. To execute uninstall in that case, run the following commands: |