Am 01.12.2017 um 16:56 schrieb Antoine Beaupré:
> On 2017-12-01 13:41:04, Michael Biebl wrote:
>> Package: etckeeper
>> Version: 1.18.7-1
>> Severity: normal
>>
>> Hi,
>>
>> with the latest update, etckeeper.timer was enabled in
>> multi-user.target.wants (most likely due to the compat bump).
> 
> Probably, yes.
> 
>> Please consider using WantedBy=timers.target instead which is supposed
>> to be used for starting timers.
> 
> Where should that change be made?
> 
> I woudl very much appreciate a patch to do that.


diff --git a/systemd/etckeeper.timer b/systemd/etckeeper.timer
index 364c089..ac25400 100644
--- a/systemd/etckeeper.timer
+++ b/systemd/etckeeper.timer
@@ -7,4 +7,4 @@ OnBootSec=15min
 OnUnitActiveSec=1d

 [Install]
-WantedBy=multi-user.target
+WantedBy=timers.target


If you want to be nice to users of unstable, you should probably clean
up /etc/systemd/system/multi-user.target.wants/etckeeper.timer manually
on upgrades. I'd leave that up to your discretion.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to