Skip to content

Commit

Permalink
Do not include xapi-clusterd.service in toolstack.target (#6096)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
psafont authored Oct 31, 2024
2 parents 6c08d45 + 5609e49 commit 07aeb76
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/toolstack.target
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 07aeb76

Please sign in to comment.