[Guidelines Change] Change to the Packaging Guidelines
Lennart Poettering
mzerqung at 0pointer.de
Tue Aug 7 17:37:29 UTC 2012
On Tue, 07.08.12 13:36, Tom Callaway (tcallawa at redhat.com) wrote:
> On 08/07/2012 01:29 PM, Lennart Poettering wrote:
> > For services which should not be restarted on upgrade (D-Bus, ...) we
> > should recommend this:
> >
> > %postun
> > %{systemd_postun}
> >
> > and for services which should be restarted on upgrade, we should
> > recommend this:
> >
> > %postun
> > %{systemd_postun_with_restart} apache-httpd.service
> >
> > And nobody should use systemctl enable in the spec snippets
> > anymore. That should be encoded in the preset policy (see other mail I
> > just sent).
>
> Why would we ever not want to do a try-restart on an upgrade? This is
> the current Fedora default.
Many services don't support being restarted. For example D-Bus and various
storage daemons.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the devel
mailing list