-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-51870: Refresh toolstack services (#6060)
- varstored-guard Before: xenopsd.servcie->xenopsd-xc.service - Remove unnecessary xenopsd services * xenopsd * xenopsd-xenlight * xenopsd-simulator * xenopsd-libvirt - Reorder services to stop/start * forkexecd: does not depends on others, move to last * xenopsd-xc After xcp-rrdd. so it needs after xcp-rrdd-* Note: the for loop reverse the TO_RESTART order
- Loading branch information
Showing
14 changed files
with
56 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[Unit] | ||
Description=toolstack Target to manage toolstack service restart | ||
# wants to start following services when run `systemctl start toolstack.target` | ||
# Note: `Wants` is used here instead of `Requires`, `Requires` will stop/restart | ||
# whole toolstack.target on any service stop/restart | ||
Wants=xapi.service | ||
Wants=message-switch.service | ||
Wants=forkexecd.service | ||
Wants=perfmon.service | ||
Wants=v6d.service | ||
Wants=xcp-rrdd-iostat.service | ||
Wants=xcp-rrdd-squeezed.service | ||
Wants=xcp-rrdd-netdev.service | ||
Wants=xcp-rrdd-dcmi.service | ||
Wants=xcp-rrdd-cpu.service | ||
Wants=xcp-rrdd-xenpm.service | ||
Wants=xcp-rrdd-gpumon.service | ||
Wants=xcp-rrdd.service | ||
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] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ After=xcp-rrdd.service | |
After=xenopsd-xc.service | ||
After=xenstored.service | ||
After[email protected] | ||
PartOf=toolstack.target | ||
|
||
Conflicts=shutdown.target | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters