### Elasticsearch Version

8.11.1

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

Rocky 9.2 5.14.0-70.26.1.el9_0.x86_64

### Problem Description

While updating several nodes from ES 8.11.0 to 8.11.1 I noticed that the nodes tried to restart the elasticsearch process. In previous versions this was not the case and required a manual step. Additionally the restart process failed on all nodes I updated. A manual `systemctl restart elasticsearch` worked however and the nodes are back up. 

### Steps to Reproduce

Install the elasticsearch-8.11.1 RPM from `https://artifacts.elastic.co/packages/8.x/yum/`

### Logs (if relevant)

```Nov 13 21:21:09 hostname systemd-entrypoint[2118575]: ERROR: Elasticsearch exited unexpectedly, with exit code 1
Nov 13 21:21:09 hostname systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
Nov 13 21:21:09 hostname systemd[1]: elasticsearch.service: Failed with result 'exit-code'.
Nov 13 21:21:09 hostname systemd[1]: elasticsearch.service: Consumed 21min 32.788s CPU time.
server/src/main/java/org/elasticsearch/node/NodeService.java
CommonStatsFlags indices,
        boolean includeShardsStats,
        boolean os,
        boolean process,
        boolean jvm,
        boolean threadPool,
        boolean fs,
        boolean transport,
        boolean http,
        boolean circuitBreaker,
        boolean script,
        boolean discoveryStats,
        boolean ingest,
        boolean adaptiveSelection,
        boolean scriptCache,
        boolean indexingPressure,
        boolean repositoriesStats
    ) {
        
        
        return new NodeStats(
            transportService.getLocalNode(),
            System.currentTimeMillis(),
            indices.anySet() ? indicesService.stats(indices, includeShardsStats) : null,
            os ? monitorService.osService().stats() : null,
            process ? monitorService.processService().stats() : null,
            jvm ? monitorService.jvmService().stats() : null,
            threadPool ? this.threadPool.stats() : null,
            fs ? monitorService.fsService().stats() : null,
            transport ? transportService.stats() : null,