From 01997497f915e8f79871f3f2acb55ac465051d24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:49:59 +0200 Subject: Adding debian version 6.1.76-1. Signed-off-by: Daniel Baumann --- debian/hyperv-daemons.postinst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 debian/hyperv-daemons.postinst (limited to 'debian/hyperv-daemons.postinst') diff --git a/debian/hyperv-daemons.postinst b/debian/hyperv-daemons.postinst new file mode 100644 index 000000000..3573c9c2e --- /dev/null +++ b/debian/hyperv-daemons.postinst @@ -0,0 +1,18 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + if [ -d /run/systemd/system ]; then + if [ -z "$2" ]; then + # On initial install make sure udev notifies systemd + udevadm trigger || true + else + # On upgrade make sure running daemons are restarted + systemctl try-restart hv-fcopy-daemon.service hv-kvp-daemon.service hv-vss-daemon.service + fi + fi +fi + +#DEBHELPER# + +exit 0 -- cgit v1.2.3