Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

v20200722

Compare
Choose a tag to compare
@rkolchmeyer rkolchmeyer released this 22 Jul 17:57
· 62 commits to master since this release
bd63efc
Make sure that a unit exists before stopping it. (#27)

If we stop a unit that doesn't exist, `systemctl stop` will return a
non-zero exit code, resulting in a failed build. This causes issues when
we remove units in new milestones.

We use `systemctl is-active` to determine if we need to stop the unit or
not. This isn't the same thing as checking if the unit exists, but it's
good enough in this case because we really only want to stop the unit if
it is active.