blob: 9bee3f6b8ca6698b487e28d36b00e92b4ab21750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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-kvp-daemon.service hv-vss-daemon.service
fi
fi
fi
#DEBHELPER#
exit 0
|