From d1e770fdcbf89a8d81a428807893434b09516289 Mon Sep 17 00:00:00 2001 From: benutzer193 Date: Sat, 20 May 2017 21:48:23 +0200 Subject: [PATCH] Fix systemd.timer: initialize timer after boot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/469 Reported-by: Jan Knížek Signed-off-by: benutzer193 Signed-off-by: Nicolas Sebrecht --- contrib/systemd/offlineimap.timer | 1 + contrib/systemd/offlineimap@.timer | 1 + 2 files changed, 2 insertions(+) diff --git a/contrib/systemd/offlineimap.timer b/contrib/systemd/offlineimap.timer index 26467e3..1ca906f 100644 --- a/contrib/systemd/offlineimap.timer +++ b/contrib/systemd/offlineimap.timer @@ -2,6 +2,7 @@ Description=Offlineimap Query Timer [Timer] +OnBootSec=1m OnUnitInactiveSec=15m Unit=offlineimap-oneshot.service diff --git a/contrib/systemd/offlineimap@.timer b/contrib/systemd/offlineimap@.timer index 9e90087..c8ac13d 100644 --- a/contrib/systemd/offlineimap@.timer +++ b/contrib/systemd/offlineimap@.timer @@ -2,6 +2,7 @@ Description=Offlineimap Query Timer for account %i [Timer] +OnBootSec=1m OnUnitInactiveSec=15m Unit=offlineimap-oneshot@%i.service