1[Unit] 2Description=Xendomains - start and stop guests on boot and shutdown 3Requires=proc-xen.mount xenstored.service 4After=proc-xen.mount xenstored.service xenconsoled.service xen-init-dom0.service 5After=network-online.target 6After=remote-fs.target 7ConditionPathExists=/proc/xen/capabilities 8Conflicts=libvirtd.service 9 10[Service] 11Type=oneshot 12RemainAfterExit=true 13ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities 14ExecStart=-@LIBEXEC_BIN@/xendomains start 15ExecStop=@LIBEXEC_BIN@/xendomains stop 16ExecReload=@LIBEXEC_BIN@/xendomains restart 17 18[Install] 19WantedBy=multi-user.target 20