Comment 3 for bug 2019089

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Phil,
there has been a lot of confusion in those options.

You suggest:
1.
 --no-restart-after-upgrade - which actually means "no ... after" which translates to "stop it early and start it late"
2.
 --no-restart-on-upgrade - which is known to be confusing, see the man page "Note that the --no-restart-on-upgrade alias is deprecated and will be removed in compat 14. This is to avoid confusion with the --no-restart-after-upgrade option."

While you touch it you should change it in the way it hopefully can stay, which would IMHO be:

dh_installsystemd --no-start --no-stop-on-upgrade google-startup-scripts.service google-shutdown-scripts.service

I see this only goes back to Jammy, so the options would be there already (no backport pain)
WDYT?