SHA256
1
0
forked from pool/xen

- Added support for systemd with the following service files

xenstored.service
  blktapctrl.service
  xend.service
  xenconsoled.service
  xen-watchdog.service
  xendomains.service
  xencommons.service

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=259
This commit is contained in:
Charles Arnold
2013-07-30 21:20:13 +00:00
committed by Git OBS Bridge
parent 11035112e8
commit 9069ef8fe4
9 changed files with 170 additions and 1 deletions

15
xendomains.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=Xendomains - start and stop Xen VMs on boot and shutdown
Requires=xenstored.service xenconsoled.service
After=xenstored.service xenconsoled.service
ConditionPathExists=/proc/xen
[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
ExecStart=-/etc/init.d/xendomains start
ExecStop=/etc/init.d/xendomains stop
[Install]
WantedBy=multi-user.target