]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix a fix of a typo in systemd.service example
authorJan Chren <dev.rindeal@gmail.com>
Mon, 24 Aug 2020 14:40:11 +0000 (16:40 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Aug 2020 15:04:01 +0000 (17:04 +0200)
The fix from cb263973acf83de22a86f08fe502a9cbd6c01d2b was made the other way around,
i.e. `SIGKILL` was changed to `SIGUSR1`, but the sentence is about a "termination signal", i.e. `SIGKILL`, not `SIGUSR1`.

man/systemd.service.xml

index fbb2987d0bec705a8c45255d1c04903b3ffb7d67..5aec511724ea6b3c899c441239822d2ef7e55823 100644 (file)
         <example>
           <title>A service with the <varname>SuccessExitStatus=</varname> setting</title>
 
-          <programlisting>SuccessExitStatus=TEMPFAIL 250 SIGUSR1</programlisting>
+          <programlisting>SuccessExitStatus=TEMPFAIL 250 SIGKILL</programlisting>
 
           <para>Exit status 75 (<constant>TEMPFAIL</constant>), 250, and the termination signal
-          <constant>SIGUSR1</constant> are considered clean service terminations.</para>
+          <constant>SIGKILL</constant> are considered clean service terminations.</para>
         </example>
 
         <para>Note: <command>systemd-analyze exit-status</command> may be used to list exit statuses and