I'm using Lubuntu LTS 20.04.3 and I'm an unexperienced user. I'm trying to set my anacron service running on battery, since by default it only runs when on AC power. I'm running on systemd and I thoroughly read both the anacron man and /usr/share/doc/anacron/README.Debian. It is said that in order to enable anacron running on battery in a systemd environment I should create this file /etc/systemd/system/anacron.service.d/on-ac.conf. Now, the issue is that anacron.service.d doesn't exist, nor any other anacron related directory. I'm sure it's a stupid question, but I'd be extremely grateful if anybody could help me with that.
Asked
Active
Viewed 243 times
1
Raffaele Bruno
- 11
- 1
/etc/systemdare for "local" overrides of the defaults in/etc/systemd/system/so don't necessarily exist (but should be read and processed if they do). – steeldriver Jan 08 '22 at 14:53