]>
Commit | Line | Data |
---|---|---|
29f98055 LO |
1 | # On Azure/Hyper-V systems start the hv_kvp_daemon |
2 | # | |
3 | # author "Andy Whitcroft <apw@canonical.com>" | |
4 | [Unit] | |
5 | Description=Hyper-V KVP Protocol Daemon | |
6 | ConditionVirtualization=microsoft | |
22cb82bf | 7 | ConditionKernelCommandLine=!snapd_recovery_mode |
29f98055 LO |
8 | DefaultDependencies=no |
9 | BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device | |
10 | After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device systemd-remount-fs.service | |
11 | Before=shutdown.target cloud-init-local.service walinuxagent.service | |
12 | Conflicts=shutdown.target | |
13 | RequiresMountsFor=/var/lib/hyperv | |
14 | ||
15 | [Service] | |
16 | ExecStart=/usr/sbin/hv_kvp_daemon -n | |
17 | ||
18 | [Install] | |
19 | WantedBy=multi-user.target |