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:
parent
e7a3fd55ac
commit
71f5a7759b
@ -4,7 +4,6 @@ Description=Offlineimap Query Timer
|
||||
[Timer]
|
||||
OnBootSec=1m
|
||||
OnUnitInactiveSec=15m
|
||||
Unit=offlineimap-oneshot.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
@ -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
|
Loading…
Reference in New Issue
Block a user