]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document what SIGUSR1 and SIGUSR2 do to resolved
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Jun 2016 18:29:32 +0000 (20:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Jun 2016 21:26:53 +0000 (23:26 +0200)
man/systemd-resolved.service.xml

index 829729ca09012c901a1f5a3c246d6d06efa3aa0e..485f3e9aee41479dec58264b1d3db9e937a93f19 100644 (file)
 
   </refsect1>
 
+  <refsect1>
+    <title>Signals</title>
+
+    <variablelist>
+      <varlistentry>
+        <term><constant>SIGUSR1</constant></term>
+
+        <listitem><para>Upon reception of the SIGUSR1 process signal <command>systemd-resolved</command> will dump the
+        contents of all DNS resource record caches it maintains into the system logs.</para></listitem>
+      </varlistentry>
+
+      <varlistentry>
+        <term><constant>SIGUSR2</constant></term>
+
+        <listitem><para>Upon reception of the SIGUSR2 process signal <command>systemd-resolved</command> will flush all
+        caches it maintains. Note that it should normally not be necessary to request this explicitly – except for
+        debugging purposes – as <command>systemd-resolved</command> flushes the caches automatically anyway any time
+        the host's network configuration changes.</para></listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+
   <refsect1>
     <title>See Also</title>
     <para>