From 71f5a7759b8d9a8057667c91c9755eb8d17d8a7d Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 1 Jun 2017 13:22:31 -0300 Subject: [PATCH] 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 Signed-off-by: Nicolas Sebrecht --- contrib/systemd/{offlineimap.timer => offlineimap-oneshot.timer} | 1 - .../systemd/{offlineimap@.timer => offlineimap-oneshot@.timer} | 1 - 2 files changed, 2 deletions(-) rename contrib/systemd/{offlineimap.timer => offlineimap-oneshot.timer} (78%) rename contrib/systemd/{offlineimap@.timer => offlineimap-oneshot@.timer} (79%) diff --git a/contrib/systemd/offlineimap.timer b/contrib/systemd/offlineimap-oneshot.timer similarity index 78% rename from contrib/systemd/offlineimap.timer rename to contrib/systemd/offlineimap-oneshot.timer index f71665f..82c9f0c 100644 --- a/contrib/systemd/offlineimap.timer +++ b/contrib/systemd/offlineimap-oneshot.timer @@ -4,7 +4,6 @@ Description=Offlineimap Query Timer [Timer] OnBootSec=1m OnUnitInactiveSec=15m -Unit=offlineimap-oneshot.service [Install] WantedBy=default.target diff --git a/contrib/systemd/offlineimap@.timer b/contrib/systemd/offlineimap-oneshot@.timer similarity index 79% rename from contrib/systemd/offlineimap@.timer rename to contrib/systemd/offlineimap-oneshot@.timer index f15599e..8eccc20 100644 --- a/contrib/systemd/offlineimap@.timer +++ b/contrib/systemd/offlineimap-oneshot@.timer @@ -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