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>
This commit is contained in:
Hugo Osvaldo Barrera 2017-06-01 13:22:31 -03:00
parent 27b1419e1c
commit 2680c48163
2 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ Description=Offlineimap Query Timer
[Timer]
OnBootSec=1m
OnUnitInactiveSec=15m
Unit=offlineimap-oneshot.service
[Install]
WantedBy=default.target

View File

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