Skip to content

Commit

Permalink
Reload systemd config before systemctl start 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 contains a
systemctl start.
  • Loading branch information
cbosdo committed Nov 13, 2024
1 parent 3862097 commit c406d19
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 @@ -430,6 +430,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 c406d19

Please sign in to comment.