rpm: add %systemd_user_daemon_reexec
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 28 Jul 2023 17:24:58 +0000 (19:24 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Aug 2023 10:15:54 +0000 (12:15 +0200)
commit9ff28e312bffe7567aa5d3f2c41303dd456f1691
treef3274e7933de0fc075d2ddd76fe15871e9ff1834
parentc6699598e28f812a11712162d9d2648735af7ac4
rpm: add %systemd_user_daemon_reexec

This macros wraps the call to daemon-reexec in all user managers. It would be
called for example from systemd %post right after the call to systemctl
daemon-reexec.

This will be used in the Fedora systemd package to fix a long-standing FIXME.

Tested via building and reinstalling the systemd package with the patches.
src/rpm/macros.systemd.in