Comment 5 for bug 1666875

Revision history for this message
mk (mk.pmb) wrote :

The original systemd service file may be restored on system update. Rather, make an override file /etc/systemd/system/anacron.service.d/on-ac.conf with

> [Unit]
> ConditionACPower=no

to make systemd always start anacron. However that doesn't help if anacron will then just flinch, so ensure in /etc/default/anacron:

> ANACRON_RUN_ON_BATTERY_POWER=yes

Hope it helps!