Skip to content

Commit

Permalink
Reload systemd config before systemctl cat in upgrade
Browse files Browse the repository at this point in the history
The systemd config needs to be reloaded between the config files
cleanup step and the service upgrade as that one starts with a systemctl
cat.
  • Loading branch information
cbosdo committed Nov 12, 2024
1 parent 2b02261 commit d40114e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mgradm/shared/podman/podman.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ func Upgrade(
return err
}

if err := systemd.ReloadDaemon(false); err != nil {
return err
}

if err := updateServerSystemdService(); err != nil {
return err
}
Expand Down

0 comments on commit d40114e

Please sign in to comment.