From 5609e49cad79a892350aff5fba7775cf672c953b Mon Sep 17 00:00:00 2001 From: Rob Hoes Date: Wed, 30 Oct 2024 15:15:26 +0000 Subject: [PATCH] Do not include xapi-clusterd.service in toolstack.target This service is not enabled and started by default, but used on-demand whenever it is needed for clustering. The current Wants= option in the toolstack.target is causing xapi-clusterd.service to be started by xe-toolstack-restart even if it is not enabled. The fix is to replace Wants= in toolstack.target with WantedBy= in xapi-clusterd.service, as the latter only installs the dependency when enabling the service. Signed-off-by: Rob Hoes --- scripts/toolstack.target | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/toolstack.target b/scripts/toolstack.target index c4019a4d23..c49701c285 100644 --- a/scripts/toolstack.target +++ b/scripts/toolstack.target @@ -20,7 +20,6 @@ Wants=xcp-networkd.service Wants=xenopsd-xc.service Wants=squeezed.service Wants=xapi-storage-script.service -Wants=xapi-clusterd.service Wants=varstored-guard.service [Install]