summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-02 17:53:40 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-02 17:53:40 +0200
commitc8f335ffa22782d4161c21770252692cfc0673ff (patch)
tree4beedade3c1cd80dab3711a03c3fda19c96873b8 /debian/postinst
parente39e9ce9a52b31666aa99c5fa2ab94404f186ab4 (diff)
Add hint to reboot if openvpn is running; Add new chapter into debian/NEWS
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index c377fc6..998c5fc 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -42,6 +42,10 @@ case "$1" in
echo "$b" | grep -q '\*' && continue
ln -sf "/run/openvpn/$b" "/run/sendsigs.omit.d/openvpn.$b"
done
+ if pidof -c /usr/sbin/openvpn >/dev/null; then
+ echo "A reboot is required to replace the running openvpn." >&2
+ echo "Please reboot the system as soon as possible." >&2
+ fi
;;
esac