mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
ff32465625
* add path removal to clear_cron * 3.6.4 * add local folder to path * templates for systemd timers * Wantedby * user root * Gonna be 3.7 * Remove legacy cron code from automate function * Core for moving replication jobs into place * Move stop before copy * Add Gravity Sync messages * Service file customization * Line break * 10 minutes to sudo * if active else * Do things quietly * Custom exec path * clear exec start * warning about cron * no longer exists
16 lines
262 B
SYSTEMD
16 lines
262 B
SYSTEMD
[Unit]
|
|
Description=Synchronize Pi-hole instances
|
|
RefuseManualStart=no
|
|
RefuseManualStop=no
|
|
Requires=gravity-sync.service
|
|
|
|
[Timer]
|
|
Unit=gravity-sync.service
|
|
Persistent=true
|
|
OnBootSec=120
|
|
OnUnitInactiveSec=5m
|
|
RandomizedDelaySec=5m
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|