summaryrefslogtreecommitdiff
path: root/man/systemd.xml
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2021-07-23 11:12:03 +0200
committerLennart Poettering <lennart@poettering.net>2021-07-28 18:50:30 +0200
commit463aef23a73d7850e0208cf4e96fd448693a755a (patch)
treef4f4ba8f33806f036d4ed8df5b0fe434bfe3e491 /man/systemd.xml
parentfac5588944743f1fc7d92b5fe621ed43ec416c43 (diff)
downloadsystemd-463aef23a73d7850e0208cf4e96fd448693a755a.tar.gz
manager: reexecute on SIGRTMIN+25, user instances only
Before this patch, there was no way to request all running user instances for reexecuting. However this can be useful especially during package updates otherwise user instances are never updated and keep running a potentially very old version of the binaries. Now assuming that we have enough priviledge, it's possible to request reexecution of all user instances: systemctl kill --signal=SIGRTMIN+25 "user@*.service" Note that this request is obviously asynchronous as it relies on a signal. Keeping "systemctl kill" as the only interface should be good enough to make this obvious and that's the reason why another interface, such as "systemctl --global daemon-reexec" has not been considered. PID1 already uses SIGTERM for reexecuting hence sending it SIGRTMIN+25 is a nop.
Diffstat (limited to 'man/systemd.xml')
-rw-r--r--man/systemd.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd.xml b/man/systemd.xml
index fe1719fc18..468edfb2d3 100644
--- a/man/systemd.xml
+++ b/man/systemd.xml
@@ -586,6 +586,17 @@
</varlistentry>
<varlistentry>
+ <term><constant>SIGRTMIN+25</constant></term>
+
+ <listitem><para>Upon receiving this signal the systemd manager will reexecute itself. This
+ is mostly equivalent to <command>systemctl daemon-reexec</command> except that it will be
+ done asynchronously.</para>
+
+ <para>The systemd system manager treats this signal the same way as
+ <constant>SIGTERM</constant>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><constant>SIGRTMIN+26</constant></term>
<listitem><para>Restores the log target to its configured value. The configured value is derived from – in