initial import
This commit is contained in:
23
xen/xendomains.initd
Normal file
23
xen/xendomains.initd
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user