Use oneshot services for systemd timers
Signed-off-by: benutzer193 <registerbn@gmail.com> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
bf85746923
commit
1462d0994a
@ -3,7 +3,7 @@ Description=Offlineimap Query Timer
|
|||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnUnitInactiveSec=15m
|
OnUnitInactiveSec=15m
|
||||||
Unit=offlineimap.service
|
Unit=offlineimap-oneshot.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mail.target
|
WantedBy=mail.target
|
||||||
|
@ -3,7 +3,7 @@ Description=Offlineimap Query Timer for account %i
|
|||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnUnitInactiveSec=15m
|
OnUnitInactiveSec=15m
|
||||||
Unit=offlineimap@%i.service
|
Unit=offlineimap-oneshot@%i.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=mail.target
|
WantedBy=mail.target
|
||||||
|
Loading…
Reference in New Issue
Block a user