diff pwm.1.xml @ 20:efef93e54c5f

Automatically save the database when receiving a fatal signal
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Wed, 06 Sep 2017 13:56:11 +0200
parents a08ef0674d8e
children ee4d36c85287
line wrap: on
line diff
--- a/pwm.1.xml	Fri Sep 01 22:33:41 2017 +0200
+++ b/pwm.1.xml	Wed Sep 06 13:56:11 2017 +0200
@@ -34,7 +34,7 @@
       <email>guido+pwm@berhoerster.name</email>
       <personblurb/>
     </author>
-    <date>12 August, 2017</date>
+    <date>6 September, 2017</date>
   </info>
   <refmeta>
     <refentrytitle>pwm</refentrytitle>
@@ -611,6 +611,23 @@
     </variablelist>
   </refsect1>
   <refsect1>
+    <title>Asynchronous Events</title>
+    <variablelist>
+      <varlistentry>
+        <term><literal>SIGINT</literal></term>
+        <term><literal>SIGHUP</literal></term>
+        <term><literal>SIGTERM</literal></term>
+        <listitem>
+          <para>If there are changes since the database was last written and
+          <command>pwm</command> is running in interactive mode, it
+          automatically writes a copy of the current database to the file
+          <filename>~/.pwm/autosave.psafe3</filename> which may be used for
+          recovery later.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
     <title>Files</title>
     <variablelist>
       <varlistentry>
@@ -619,6 +636,13 @@
           <para>default password database</para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term><filename>~/.pwm/autosave.psafe3</filename></term>
+        <listitem>
+          <para>automatic copy of the password database after receiving a fatal
+          signal in interactive mode</para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
   <refsect1>