Werk #15723: Ensure site is stopped when running cmk-update-config

Component Core & setup
Title Ensure site is stopped when running cmk-update-config
Date Jan 23, 2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The cmk-update-config command, which is usually executed as part of omd update expects the site to be stopped during execution. This is always ensured during omd update.

However, the command can also be executed manually later on. In this situation the site can be running. To prevent unexpected results, the command now protects against an accidentally running site on invocation.

To the list of all Werks