Created Automation (markdown)

Michael Stanclift 2022-04-13 09:30:31 -05:00
parent d7ac2f91a5
commit a793e510a6

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.