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:
benutzer193 2017-03-28 08:20:16 +02:00 committed by Nicolas Sebrecht
parent bf85746923
commit 1462d0994a
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Description=Offlineimap Query Timer
[Timer]
OnUnitInactiveSec=15m
Unit=offlineimap.service
Unit=offlineimap-oneshot.service
[Install]
WantedBy=mail.target

View File

@ -3,7 +3,7 @@ Description=Offlineimap Query Timer for account %i
[Timer]
OnUnitInactiveSec=15m
Unit=offlineimap@%i.service
Unit=offlineimap-oneshot@%i.service
[Install]
WantedBy=mail.target