2013-07-30 23:20:13 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Xendomains - start and stop Xen VMs on boot and shutdown
|
2013-08-16 23:22:11 +02:00
|
|
|
After=xencommons.service network.target
|
2013-07-30 23:20:13 +02:00
|
|
|
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
|