Jelajahi Sumber

Documented --stop-with-process option in man page.

Tatsuhiro Tsujikawa 14 tahun lalu
induk
melakukan
e787b30dde
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      doc/aria2c.1.asciidoc

+ 7 - 0
doc/aria2c.1.asciidoc

@@ -1155,6 +1155,13 @@ are also allocated if they share the same piece.
   If '0' is given, this feature is disabled.
   Default: '0'
 
+[[aria2_optref_stop_with_process]]*--stop-with-process*=PID::
+
+  Stop application when process PID is not running.  This is useful if
+  aria2 process is forked from a parent process. The parent process
+  can fork aria2 with its own pid and when parent process exits for
+  some reason, aria2 can detect it and shutdown itself.
+
 [[aria2_optref_truncate_console_readout]]*--truncate-console-readout*[='true'|'false']::
 
   Truncate console readout to fit in a single line.