Skip to content

Commit

Permalink
Reload systemd daemon after updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Jan 26, 2024
1 parent e9a006b commit 266ed9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/package-scripts/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ then
# disable user specific symlink
echo "---> Disable service and remove entry"
rm -v /etc/systemd/system/hyperion.service /etc/systemd/system/[email protected] /etc/systemd/system/[email protected] 2> /dev/null

# reload daemon after updates
systemctl -q daemon-reload 2> /dev/null
# reset all units with failed status
systemctl -q reset-failed 2> /dev/null

Expand Down

0 comments on commit 266ed9d

Please sign in to comment.