hyperv-daemons/hypervkvpd.service
Chris Patterson af383a2648 hypervkvpd.service: ordering fixes
- Only start kvpd under Hyper-V.

- Minimize dependencies for kvpd by removing the unnecessary
  network.target requirement, but add kvp device and mount
  requirements.

- Start before cloud-init-local.service which relies on kvpd
  for Azure.

Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
2022-07-14 16:27:17 +02:00

13 lines
323 B
Desktop File

[Unit]
Description=Hyper-V KVP daemon
ConditionVirtualization=microsoft
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
RequiresMountsFor=/var/lib/hyperv
Before=cloud-init-local.service
IgnoreOnIsolate=1
[Service]
Type=simple
ExecStart=/usr/sbin/hypervkvpd -n