aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hvtools/hv_kvp_daemon.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-07-15 12:39:59 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-18 16:38:50 +0200
commit2ca6099b98c497478b4fffdeda0ca7455ea9d7df (patch)
tree6cf70b4e2133dd1ad7e26b85cd77f6d20d693a6e /testing/hvtools/hv_kvp_daemon.initd
parentdb9ddd00b7534cf165637a4175e2c2648580f5ac (diff)
downloadaports-2ca6099b98c497478b4fffdeda0ca7455ea9d7df.tar.bz2
aports-2ca6099b98c497478b4fffdeda0ca7455ea9d7df.tar.xz
testing/hvtools: upgrade to 4.4.15 and add init.d scripts
Diffstat (limited to 'testing/hvtools/hv_kvp_daemon.initd')
-rw-r--r--testing/hvtools/hv_kvp_daemon.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/hvtools/hv_kvp_daemon.initd b/testing/hvtools/hv_kvp_daemon.initd
new file mode 100644
index 0000000000..71f31238f7
--- /dev/null
+++ b/testing/hvtools/hv_kvp_daemon.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+name="Hyper-V daemon: hv_kvp_daemon"
+command=/usr/bin/hv_kvp_daemon
+
+depend() {
+ use clock logger
+ need localmount net
+}
+
+start_pre() {
+ # Delete the existing store
+ rm -rf /var/lib/hyperv
+}
+