aboutsummaryrefslogtreecommitdiffstats
path: root/main/hvtools/hv_kvp_daemon.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-11-07 11:12:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-11-07 11:15:46 +0000
commitef1428b0c6a5aa65442374ca24470ca12d229340 (patch)
tree48248e35acac626695931a606e204dbfa36b8b33 /main/hvtools/hv_kvp_daemon.initd
parent319942e85e230f88bb72c52fb6933caeb1eb82db (diff)
downloadaports-ef1428b0c6a5aa65442374ca24470ca12d229340.tar.bz2
aports-ef1428b0c6a5aa65442374ca24470ca12d229340.tar.xz
main/hvtools: move from testing
Diffstat (limited to 'main/hvtools/hv_kvp_daemon.initd')
-rw-r--r--main/hvtools/hv_kvp_daemon.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/hvtools/hv_kvp_daemon.initd b/main/hvtools/hv_kvp_daemon.initd
new file mode 100644
index 0000000000..71f31238f7
--- /dev/null
+++ b/main/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
+}
+