2013-07-30 23:20:13 +02:00
|
|
|
[Unit]
|
2015-01-14 21:58:52 +01:00
|
|
|
Description=xencommons
|
|
|
|
ConditionPathExists=/proc/xen/capabilities
|
|
|
|
|
2015-04-21 14:25:48 +02:00
|
|
|
# Avoid errors from systemd-modules-load.service
|
|
|
|
Requires=xen-dom0-modules.service
|
|
|
|
After=xen-dom0-modules.service
|
|
|
|
|
2015-01-14 21:58:52 +01:00
|
|
|
# Pull in all upstream service files
|
|
|
|
Requires=proc-xen.mount
|
|
|
|
After=proc-xen.mount
|
|
|
|
Requires=xenstored.service
|
|
|
|
After=xenstored.service
|
|
|
|
Requires=xenconsoled.service
|
|
|
|
After=xenconsoled.service
|
|
|
|
Requires=xen-init-dom0.service
|
|
|
|
After=xen-init-dom0.service
|
|
|
|
Requires=xen-qemu-dom0-disk-backend.service
|
|
|
|
After=xen-qemu-dom0-disk-backend.service
|
|
|
|
|
|
|
|
# Make sure network (for bridge) and remote mounts (for xendomains) are available ...
|
|
|
|
After=network-online.target
|
|
|
|
After=remote-fs.target
|
|
|
|
|
|
|
|
# ... for libvirt and xendomains
|
|
|
|
Before=xendomains.service libvirtd.service
|
2013-07-30 23:20:13 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=true
|
|
|
|
ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
|
2015-01-14 21:58:52 +01:00
|
|
|
ExecStart=/usr/bin/xenstore-ls -f
|
2013-07-30 23:20:13 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|