How to make dnf-automatic.timer setting permanent?

Solution Unverified - Updated -

Issue

  • After customizing /usr/lib/systemd/system/dnf-automatic.timer to run at a specific day/time the customization works well, but eventually it stops because /usr/lib/systemd/system/dnf-automatic.timer goes back to its default.

  • How to make /usr/lib/systemd/system/dnf-automatic.timer changes persistent?

Environment

  • Red Hat Enterprise Linux 8
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content