From c8f335ffa22782d4161c21770252692cfc0673ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 2 May 2020 17:53:40 +0200 Subject: Add hint to reboot if openvpn is running; Add new chapter into debian/NEWS --- debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/postinst') 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 -- cgit v1.2.3