summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-30 19:08:57 +0200
committerErich Eckner <git@eckner.net>2019-05-30 19:08:57 +0200
commita5ead33b74828b56518ae77fe17cc09ea66087ef (patch)
treed598dc02c69a2d0918131636a35a4b3ba6236dfc
parent7e72c91255ff10df9231487ed92764a289d4d506 (diff)
downloadgitolite-sync-a5ead33b74828b56518ae77fe17cc09ea66087ef.tar.xz
gitolite-sync.timer: run less often if job takes longer to complete
-rw-r--r--gitolite-sync.timer.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitolite-sync.timer.in b/gitolite-sync.timer.in
index 4a4e9bc..c49b36b 100644
--- a/gitolite-sync.timer.in
+++ b/gitolite-sync.timer.in
@@ -2,8 +2,10 @@
Description=repeatedly synchronize gitolite repositories
[Timer]
+AccuracySec=1us
RandomizedDelaySec=10min
-OnCalendar=*-*-* *:00/10:00
+OnUnitInactiveSec=10min
+OnBootSec=10min
[Install]
WantedBy=timers.target