xen-runit-scripts/xendomains.run

17 lines
349 B
Text
Raw Normal View History

2024-07-23 12:54:54 +02:00
#!/bin/sh
set -e
sv s proc-xen > /dev/null || exit 1
sv s xenstored > /dev/null || exit 1
sv s xenconsoled > /dev/null || exit 1
sv s xen-init-dom0 > /dev/null || exit 1
[ -e /proc/xen/capabilities ] || exit 1
/bin/grep -q control_d /proc/xen/capabilities || exit 1
/usr/lib/xen/bin/xendomains start > /dev/null
exec chpst -b xendomains pause