v.21.8Improvement

Make sudo service clickhouse-server start compatible with systemd on Centos 8

Make sudo service clickhouse-server start to work on systems with systemd like Centos 8. Close #14298. Close #17799. #25921 (alexey-milovidov).
Enable sudo service clickhouse-server start command to work correctly on systemd-based systems such as CentOS 8.

Why it matters

This feature resolves issues where the common service management command sudo service clickhouse-server start did not function properly on Linux distributions using systemd, improving usability and integration with system services.

How to use it

On systems with systemd like CentOS 8, simply use the command sudo service clickhouse-server start to start the ClickHouse server as expected without additional configuration.