xen-runit-scripts/xenstored.run

15 lines
238 B
Text
Raw Normal View History

2024-07-23 12:54:54 +02:00
#!/bin/sh
set -e
[ -e /proc/xen/capabilities ] || exit 1
sv s proc-xen > /dev/null || exit 1
/bin/grep -q control_d /proc/xen/capabilities || exit 1
sleep 3
/etc/xen/scripts/launch-xenstore > /dev/null
exec chpst -b xenstored pause