d/rules: use new dh option names 59/8959/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:09:51 +0000 (12:09 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:09:51 +0000 (12:09 +0200)
From man pages:
  Note that the --no-restart-on-upgrade alias is deprecated and
  will be removed in compat 11.  This is to avoid confusion with the
  --no-restart-after-upgrade option.  The --no-stop-on-upgrade
  variant was introduced in debhelper 10.2 (included in Debian
  stretch).

Follow that to be ready for compat 11 in that regard.

Change-Id: I7362a90e867bf4fefae66a4f690992b7053eb593
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/rules

index 49149c9..8fe4b2f 100755 (executable)
@@ -362,10 +362,10 @@ override_dh_dkms:
        dh_dkms -V $(DEB_VERSION_UPSTREAM)
 
 override_dh_installinit:
-       dh_installinit --no-start --no-restart-on-upgrade
+       dh_installinit --no-start --no-stop-on-upgrade
 
 override_dh_systemd_start:
-       dh_systemd_start --no-start --no-restart-on-upgrade
+       dh_systemd_start --no-start --no-stop-on-upgrade
 
 override_dh_auto_test: