1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-25 07:27:44 +02:00
offlineimap/contrib/systemd/offlineimap-oneshot@.timer
Hugo Osvaldo Barrera 71f5a7759b Respect systemd conventions for timers
systemd conventions specify that timers trigger services with the same
name (this can be overridden, of course).

We're currently providing:

* offlineimap-oneshot.service
* offlineimap.service
* offlineimap.timer

This is rather confusing, since the timer doesn't actually provide the
service of the same name (even though they're bundled together!!), but a
different one.

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-06-01 18:40:42 +02:00

10 lines
137 B
SYSTEMD

[Unit]
Description=Offlineimap Query Timer for account %i
[Timer]
OnBootSec=1m
OnUnitInactiveSec=15m
[Install]
WantedBy=default.target