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>
This commit is contained in:
Hugo Osvaldo Barrera 2017-06-01 13:22:31 -03:00 committed by Nicolas Sebrecht
parent e7a3fd55ac
commit 71f5a7759b
2 changed files with 0 additions and 2 deletions

View File

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

View File

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