Skip to content

Commit

Permalink
common: Fix dnf-automatic-on-shutdown for DNF5.
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Nov 23, 2024
1 parent 472cbf9 commit ca46ecf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/common/files/dnf-automatic-on-shutdown.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ ConditionPathExists=!/run/ostree-booted

[Service]
Type=oneshot
ExecStop=/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer --installupdates
Environment="ABRT_IGNORE_PYTHON=1"
ExecStop=/usr/bin/dnf-automatic --installupdates
RemainAfterExit=true
TimeoutStopSec=infinity

Expand Down

0 comments on commit ca46ecf

Please sign in to comment.