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:
parent
5d5ad62fa7
commit
d1e770fdcb
@ -2,6 +2,7 @@
|
|||||||
Description=Offlineimap Query Timer
|
Description=Offlineimap Query Timer
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
|
OnBootSec=1m
|
||||||
OnUnitInactiveSec=15m
|
OnUnitInactiveSec=15m
|
||||||
Unit=offlineimap-oneshot.service
|
Unit=offlineimap-oneshot.service
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
Description=Offlineimap Query Timer for account %i
|
Description=Offlineimap Query Timer for account %i
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
|
OnBootSec=1m
|
||||||
OnUnitInactiveSec=15m
|
OnUnitInactiveSec=15m
|
||||||
Unit=offlineimap-oneshot@%i.service
|
Unit=offlineimap-oneshot@%i.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user