/etc/init/hv-kvp-daemon-init.conf is in hv-kvp-daemon-init 0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # On Azure/Hyper-V systems start the hv_kvp_daemon
#
description "Hyper-V KVP Protocol Daemon"
author "Ben Howard <ben.howard@canonical.com>"
start on runlevel [2345]
console log
pre-start script
KVP="/usr/sbin/hv_kvp_daemon_$(awk '{ sub(/\.([0-9]*)-[a-z].*/, "" ); print$NF }' /proc/version_signature)"
[ -x "$KVP" ] || { stop; exit 0; }
exec $KVP
end script
post-stop script
KVP="/usr/sbin/hv_kvp_daemon_$(awk '{ sub(/\.([0-9]*)-[a-z].*/, "" ); print$NF }' /proc/version_signature)"
kill -9 `pidof $KVP`
end script
|