From 5cc614d90d3150e26e87ac55c44cf6e358011156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 2 May 2020 15:03:34 +0200 Subject: Remove restart from debian/postinst; Migrate to debhelper 13 --- debian/changelog | 2 ++ debian/control | 2 +- debian/postinst | 9 --------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/debian/changelog b/debian/changelog index d75b554..0e0ee0e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ openvpn (2.4.9-3) UNRELEASED; urgency=medium "ERROR: Cannot ioctl TUNSETIFF tunX: Device or resource busy (errno=16)" - debian/rules: Change dh_installsystemd from "--restart-after-upgrade" to "--no-restart-after-upgrade -r". + - Remove restart from debian/postinst. + * Migrate to debhelper 13: -- Jörg Frings-Fürst Sat, 02 May 2020 12:11:51 +0200 diff --git a/debian/control b/debian/control index 5efa571..43f6a50 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Bernhard Schmidt Uploaders: Jörg Frings-Fürst Build-Depends: - debhelper-compat (= 12), + debhelper-compat (= 13), dpkg-dev (>= 1.16.1), iproute2 [linux-any], liblz4-dev, diff --git a/debian/postinst b/debian/postinst index 648e671..af4e940 100644 --- a/debian/postinst +++ b/debian/postinst @@ -52,15 +52,6 @@ case "$1" in ;; esac -if [ -x "/etc/init.d/openvpn" ]; then - pathfind invoke-rc.d - if [ $? = 0 ]; then - invoke-rc.d openvpn cond-restart || invoke-rc.d openvpn restart - else - /etc/init.d/openvpn cond-restart || /etc/init.d/openvpn restart - fi -fi - db_stop #DEBHELPER# -- cgit v1.2.3