mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Add configuration entries to sysconfig.xencommons for selection of the xenstore type (domain or daemon) and start the selected xenstore service via a script called from sysvinit or systemd. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
20 lines
491 B
Plaintext
20 lines
491 B
Plaintext
[Unit]
|
|
Description=The Xen xenstore
|
|
Requires=proc-xen.mount var-lib-xenstored.mount
|
|
After=proc-xen.mount var-lib-xenstored.mount
|
|
Before=libvirtd.service libvirt-guests.service
|
|
RefuseManualStop=true
|
|
ConditionPathExists=/proc/xen/capabilities
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=all
|
|
RemainAfterExit=true
|
|
ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
|
|
ExecStart=@XEN_SCRIPT_DIR@/launch-xenstore
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Also=proc-xen.mount
|
|
Also=var-lib-xenstored.mount
|