Fix systemd.timer: initialize timer after boot

Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/469
Reported-by: Jan Knížek <jk@janknizek.cz>
Signed-off-by: benutzer193 <registerbn@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
benutzer193 2017-05-20 21:48:23 +02:00 committed by Nicolas Sebrecht
parent 5d5ad62fa7
commit d1e770fdcb
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
Description=Offlineimap Query Timer
[Timer]
OnBootSec=1m
OnUnitInactiveSec=15m
Unit=offlineimap-oneshot.service

View File

@ -2,6 +2,7 @@
Description=Offlineimap Query Timer for account %i
[Timer]
OnBootSec=1m
OnUnitInactiveSec=15m
Unit=offlineimap-oneshot@%i.service