https://bugzilla.redhat.com/show_bug.cgi?id=1848072



--- Comment #4 from Benjamin Gilbert <[email protected]> ---
The behavior we want is: SIGHUP sshd on initial install, SIGHUP on upgrades,
and SIGHUP on removal.  We use systemctl try-reload-or-restart because we want
the try- behavior (don't fail if sshd isn't running); systemctl doesn't have a
try-reload.  %systemd_postun_with_restart does a restart rather than reload,
and %systemd_post isn't useful because we don't need any presets applied.

I've updated the spec to avoid reloading twice on package upgrades, and also to
correctly associate the scriptlets with the subpackage. :-/


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to