On Tue, 07.08.12 13:36, Tom Callaway (tcallawa@xxxxxxxxxx) 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. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel