Skip to content

Commit

Permalink
fix: ensure we reload systemd during RPM upgrades.
Browse files Browse the repository at this point in the history
* When we upgrade packages we still drop the latest systemd unit files
  for quads-{db,web,server} and even if they don't change they are
  technically new files.  When they do change we need to tell systemd
  about it.
* When we install QUADS for the first time it's still good practice to
  tell systemd about new unit files, too.

Change-Id: Icd156ec8c8adae93915717ac69da6da39bb52947
  • Loading branch information
sadsfae committed Sep 19, 2024
1 parent d9c146c commit de808d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm/quads.spec
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ rm -rf %{buildroot}
/usr/bin/systemctl stop abrt-xorg 2>/dev/null
/usr/bin/systemctl disable abrt-pstoreoops 2>/dev/null
/usr/bin/systemctl stop abrt-pstoreoops 2>/dev/null
/usr/bin/systemctl daemon-reload
source /etc/profile.d/quads.sh
# New Installation Steps Only
if [ "$1" -eq 1 ]; then
Expand Down

0 comments on commit de808d1

Please sign in to comment.