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
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to