mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
2.2.1
This commit is contained in:
parent
572abc07e1
commit
17325791fc
@ -18,8 +18,8 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync
|
||||
|
||||
```bash
|
||||
cd ~
|
||||
wget https://github.com/vmstan/gravity-sync/archive/v2.2.0.zip
|
||||
unzip v2.2.0.zip -d gravity-sync
|
||||
wget https://github.com/vmstan/gravity-sync/archive/v2.2.1.zip
|
||||
unzip v2.2.1.zip -d gravity-sync
|
||||
cd gravity-sync
|
||||
```
|
||||
|
||||
|
@ -13,6 +13,12 @@ This release also adds the `./gravity-sync.sh purge` function that will totally
|
||||
- I found a markdown spellcheck utility for Visual Studio Code, and ran it against all my markdown files. I'm sorry, I don't spell good. 🤷♂️
|
||||
- New Star Trek references.
|
||||
|
||||
#### 2.2.1
|
||||
|
||||
- Corrects issue with Smart Sync where it would fail if there was no `custom.list` already present on the local Pi-hole.
|
||||
- Adds Pihole default directories to `gravity-sync.conf.example` file.
|
||||
- Adds `RIHOLE_BIN` variable to specify different Pi-hole binary location on remote server.
|
||||
|
||||
## 2.1
|
||||
|
||||
### The Backup Release
|
||||
|
@ -35,4 +35,14 @@ REMOTE_PASS=''
|
||||
# PING_AVOID=''
|
||||
# ROOT_CHECK_AVOID=''
|
||||
|
||||
# BACKUP_RETAIN=''
|
||||
# BACKUP_RETAIN=''
|
||||
|
||||
# PIHOLE DEFAULTS ########################
|
||||
|
||||
# Have a very good reason to change these!
|
||||
|
||||
# PIHOLE_DIR=''
|
||||
# GRAVITY_FI=''
|
||||
# CUSTOM_DNS=''
|
||||
# PIHOLE_BIN=''
|
||||
# RIHOLE_BIN=''
|
@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS
|
||||
|
||||
# GRAVITY SYNC BY VMSTAN #####################
|
||||
PROGRAM='Gravity Sync'
|
||||
VERSION='2.2.0'
|
||||
VERSION='2.2.1'
|
||||
|
||||
# Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync')
|
||||
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
|
||||
@ -40,7 +40,8 @@ BACKUP_RETAIN='7' # replace in gravity-sync.conf to overwrite
|
||||
PIHOLE_DIR='/etc/pihole' # default Pi-hole data directory
|
||||
GRAVITY_FI='gravity.db' # default Pi-hole database file
|
||||
CUSTOM_DNS='custom.list' # default Pi-hole local DNS lookups
|
||||
PIHOLE_BIN='/usr/local/bin/pihole' # default Pi-hole binary directory
|
||||
PIHOLE_BIN='/usr/local/bin/pihole' # default Pi-hole binary directory (local)
|
||||
RIHOLE_BIN='/usr/local/bin/pihole' # default Pi-hole binary directory (remote)
|
||||
|
||||
# OS Settings
|
||||
BASH_PATH='/bin/bash' # default OS bash path
|
||||
@ -383,13 +384,13 @@ function push_gs_reload {
|
||||
MESSAGE="Updating Remote FTLDNS Configuration"
|
||||
echo_stat
|
||||
CMD_TIMEOUT='15'
|
||||
CMD_REQUESTED="${PIHOLE_BIN} restartdns reloadlists"
|
||||
CMD_REQUESTED="${RIHOLE_BIN} restartdns reloadlists"
|
||||
create_sshcmd
|
||||
|
||||
MESSAGE="Reloading Remote FTLDNS Services"
|
||||
echo_stat
|
||||
CMD_TIMEOUT='15'
|
||||
CMD_REQUESTED="${PIHOLE_BIN} restartdns"
|
||||
CMD_REQUESTED="${RIHOLE_BIN} restartdns"
|
||||
create_sshcmd
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user