consul/.github/workflows
JG d433a9d085
packaging: fix issues in pre/postremove scripts (#12147)
Fixes several issues with the pre/postremove scripts for both rpm and
deb packages. Specifically:

For postremove:
- the postremove script now functions correctly (i.e. restarts consul
  after a package upgrade) on rpm-based systems (where $1 is numeric
  rather than `purge` or `upgrade`)
- `systemctl daemon-reload` is called on package removal (rather than
  only on upgrade)
- calls `systemctl try-restart` instead of `systemctl restart`, which
  will only (re)start consul if it was already running when the upgrade
  happened.

For preremove:
- if the package is being completely uninstalled (rather than upgraded),
  stop consul before removing the package
2022-02-01 12:07:18 -08:00
..
build.yml packaging: fix issues in pre/postremove scripts (#12147) 2022-02-01 12:07:18 -08:00
changelog-checker.yml ci: make changelog-checker only validate PR number against main base (#10844) 2021-08-16 15:40:51 -04:00
issue-comment-created.yml Migrate from GitHub HashiBot to GitHub Actions 2021-06-08 12:14:46 -04:00
load-test.yml Update references to the main branch 2021-06-29 17:17:38 -04:00
pr-labeler.yml Turns PR labeler to only trigger on create (#8838) 2020-10-07 13:45:17 -04:00
pr-metrics-test-checker.yml add a metrics test check GH action (#11536) 2021-12-20 09:10:13 -08:00
website-checker.yml Provide an 'escape-hatch' for website-checker workflow (#11882) 2022-01-20 18:34:01 -08:00