Am 12.11.2018 um 14:36 schrieb Boyuan Yang: > Hi Michael, > > (see below..) > > Michael Biebl <bi...@debian.org> 于2018年11月12日周一 上午7:51写道: >> >> On Sun, 11 Nov 2018 18:19:56 +0000 Boyuan Yang <by...@debian.org> wrote: >>> + Add /etc/default/anacron file as EnvironmentFile. >> >> As systemd maintainer, I have to say, that I don't particularly like >> this change. EnvironmentFile is a bit of a kludge, the documented and >> preferred mechanism is to use a drop-in config snippet. >> You'll need that anyway, since the ConditionACPower can not be >> overridden this way. >> >> I would prefer a simple note in /etc/default/anacron instead, which says >> that this file is only read by the sysv init script and for systemd you >> should use a drop-in config instead. > > The key is that I added ANACRON_ARGS to the environment file besides > ConditionACPower so that users may add custom arguments. For example, > -s for serialisation. In such circumstance the EnvironmentFile is needed > anyway.
No, it's not. You can use a drop-in snippet for that just fine. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature