Hi Laurent,

Laurent Bigonville <[email protected]> writes:
> detect this (ConditionACPower=true). I've added a comment in the
> README.Debian file to explain how to override this.
> […]
> +If you are using systemd and want to change this behaviour, you should copy
> +/lib/systemd/system/anacron.service to /etc/systemd/system/anacron.service 
> and
> +remove or comment the "ConditionACPower=true" line.
Note that a better way to override specific statements like this is to
create a file called /etc/systemd/system/anacorn.service.d/on-ac.conf
with the following contents:

[Unit]
ConditionACPower=false

Also I’d consider dropping remote-fs.target, unless anacron really needs
it. Apart from that, your patch looks good.

-- 
Best regards,
Michael


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to