mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-07-09 02:34:06 -04: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
|
```bash
|
||||||
cd ~
|
cd ~
|
||||||
wget https://github.com/vmstan/gravity-sync/archive/v2.2.0.zip
|
wget https://github.com/vmstan/gravity-sync/archive/v2.2.1.zip
|
||||||
unzip v2.2.0.zip -d gravity-sync
|
unzip v2.2.1.zip -d gravity-sync
|
||||||
cd 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. 🤷♂️
|
- 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.
|
- 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
|
## 2.1
|
||||||
|
|
||||||
### The Backup Release
|
### The Backup Release
|
||||||
|
@ -35,4 +35,14 @@ REMOTE_PASS=''
|
|||||||
# PING_AVOID=''
|
# PING_AVOID=''
|
||||||
# ROOT_CHECK_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 #####################
|
# GRAVITY SYNC BY VMSTAN #####################
|
||||||
PROGRAM='Gravity Sync'
|
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')
|
# 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
|
# 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
|
PIHOLE_DIR='/etc/pihole' # default Pi-hole data directory
|
||||||
GRAVITY_FI='gravity.db' # default Pi-hole database file
|
GRAVITY_FI='gravity.db' # default Pi-hole database file
|
||||||
CUSTOM_DNS='custom.list' # default Pi-hole local DNS lookups
|
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
|
# OS Settings
|
||||||
BASH_PATH='/bin/bash' # default OS bash path
|
BASH_PATH='/bin/bash' # default OS bash path
|
||||||
@ -383,13 +384,13 @@ function push_gs_reload {
|
|||||||
MESSAGE="Updating Remote FTLDNS Configuration"
|
MESSAGE="Updating Remote FTLDNS Configuration"
|
||||||
echo_stat
|
echo_stat
|
||||||
CMD_TIMEOUT='15'
|
CMD_TIMEOUT='15'
|
||||||
CMD_REQUESTED="${PIHOLE_BIN} restartdns reloadlists"
|
CMD_REQUESTED="${RIHOLE_BIN} restartdns reloadlists"
|
||||||
create_sshcmd
|
create_sshcmd
|
||||||
|
|
||||||
MESSAGE="Reloading Remote FTLDNS Services"
|
MESSAGE="Reloading Remote FTLDNS Services"
|
||||||
echo_stat
|
echo_stat
|
||||||
CMD_TIMEOUT='15'
|
CMD_TIMEOUT='15'
|
||||||
CMD_REQUESTED="${PIHOLE_BIN} restartdns"
|
CMD_REQUESTED="${RIHOLE_BIN} restartdns"
|
||||||
create_sshcmd
|
create_sshcmd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user