diff --git a/Removal.md b/Removal.md index 4280671..9f429e0 100644 --- a/Removal.md +++ b/Removal.md @@ -1,25 +1,15 @@ -Gravity Sync has a built in tool to purge everything custom about itself from the system. This can be used to reset a failed install, or in the lead up to removing Gravity Sync completely if it's no longer useful for you. +Gravity Sync has a built in tool to purge everything about itself from the system. This can be used to reset a failed install, or permanently if you decide it's no longer useful for you. ```bash -./gravity-sync.sh purge +gravity-sync purge ``` -This will remove: +This will remove/disable: -- All backups files. -- Your `gravity-sync.conf` file. -- All cronjob/automation tasks. -- All job history/logs. -- The SSH id_rsa keys associated with Gravity Sync. +- The Gravity Sync binary in `/usr/bin/gravity-sync` +- Your configuration and job history in `/etc/gravity-sync` +- All systemd automation tasks. -This function will totally wipe out your existing Gravity Sync installation and reset it to the default state for the version you are running. If all troubleshooting of a bad installation fails, this is the command of last resort. +**This will not impact any of the Pi-hole binaries, configuration files, directories, services, etc.** Your Gravity Database, local DNS Records and local DNS CNAMEs will no longer sync, but they will be in the status they were prior to when Gravity Sync was removed. -**This will not impact any of the Pi-hole binaries, configuration files, directories, services, etc.** Your Domain Database, Local DNS Records and Local DNS CNAMEs will no longer sync, but they will be in the status they were prior to when Gravity Sync was removed. - -### Uninstalling - -If you are completely uninstalling Gravity Sync, the last step would be to remove the `gravity-sync` folder from your installation directory. - -```bash -rm -fr gravity-sync -``` \ No newline at end of file +- You will need to run the `PURGE` command on both Pi-hole instances where Gravity Sync is installed. \ No newline at end of file