summaryrefslogtreecommitdiffstats
path: root/debian/hyperv-daemons.hv-kvp-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/hyperv-daemons.hv-kvp-daemon.service')
-rw-r--r--debian/hyperv-daemons.hv-kvp-daemon.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/hyperv-daemons.hv-kvp-daemon.service b/debian/hyperv-daemons.hv-kvp-daemon.service
new file mode 100644
index 000000000..67496e353
--- /dev/null
+++ b/debian/hyperv-daemons.hv-kvp-daemon.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Hyper-V key-value pair (KVP) daemon
+DefaultDependencies=no
+Before=sysinit.target shutdown.target
+Conflicts=hyperv-daemons.hv-kvp-daemon.service shutdown.target
+BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
+IgnoreOnIsolate=1
+
+[Service]
+ExecStart=/usr/sbin/hv_kvp_daemon -n
+CapabilityBoundingSet=
+DeviceAllow=/dev/vmbus/hv_kvp
+NoNewPrivileges=true
+ProtectControlGroups=true
+ProtectHome=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectSystem=full
+StateDirectory=hyperv
+
+[Install]
+WantedBy=multi-user.target