#!/sbin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

. /etc/xen/scripts/hotplugpath.sh

description="Xendomains - start and stop guests on boot and shutdown"

depend() {
	need xencommons
}

start() {
	$LIBEXEC_BIN/xendomains start
}

stop() {
	$LIBEXEC_BIN/xendomains stop
}

reload() {
	$LIBEXEC_BIN/xendomains reload
}
