The dh_installsystemd code is

                # stop service only on remove
                autoscript($package, 'prerm', 'prerm-systemd-restart', 
$replace, \%options)
                        unless ($dh{NO_START});

I don't think we want the "unless ($dh{NO_START})" condition there.
--no-start is important during installation, because we don't want the
service to start, but presumably some users will later enable the
service (otherwise, why ship it at all?).  During package removal,
though, we do need to stop it.

noah

Reply via email to