[Guidelines Change] Change to the Packaging Guidelines

Tom Callaway tcallawa at redhat.com
Tue Aug 7 17:36:21 UTC 2012


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.

~tom

==
Fedora Project


More information about the devel mailing list