summaryrefslogtreecommitdiff
path: root/dh_installinit
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinit')
-rwxr-xr-xdh_installinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh_installinit b/dh_installinit
index 7ba8504a..8cfa765c 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -399,6 +399,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
autoscript($package,"postrm","postrm-init",
{ 'SCRIPT' => $script, 'ERROR_HANDLER' => $dh{ERROR_HANDLER} },
\%snippet_options);
+
+ if (compat(11)) {
+ autoscript($package, 'postrm', 'postrm-systemd-reload-only', \%snippet_options);
+ }
}
}
}