mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-07-09 02:34:06 -04:00
Created Automation (markdown)
parent
d7ac2f91a5
commit
a793e510a6
13
Automation.md
Normal file
13
Automation.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
## Automation
|
||||||
|
|
||||||
|
Automation of sync is accomplished by adding an execution of the script to each host's systemd configuration.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
gravity-sync auto
|
||||||
|
```
|
||||||
|
|
||||||
|
Automation tasks within systemd are configured by default to run at semi-randomized times on each node. The net effect is replication should happen in under 5 minutes.
|
||||||
|
|
||||||
|
(Replications will also automatically attempt for the first time 2 minutes after either system is rebooted/powered on.)
|
||||||
|
|
||||||
|
Now, make another small adjustment to your primary settings and wait until anointed time to see if your changes have been synchronized. If so, profit! If not, start from the beginning. From this point forward any block list changes you make to either instance will quickly be reflected on the peer.
|
Loading…
x
Reference in New Issue
Block a user