瀏覽代碼

doc: update manpage for atexit option

Victor Seva 4 年之前
父節點
當前提交
351efd29d3
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      doc/man/kamailio.8

+ 6 - 4
doc/man/kamailio.8

@@ -58,6 +58,12 @@ Enable auto-aliases with 'yes' or 'on', disable with 'no' or 'off
 Add an alias, the value has to be '[proto:]hostname[:port]'
 (like for 'alias' global parameter)
 .TP
+.BI \-\-atexit\fR=\fIval
+Control atexit callbacks execution from external libraries
+which may access destroyed shm memory causing crash on shutdown.
+Can be y[es] or 1 to enable atexit callbacks, n[o] or 0 to disable,
+default is yes.
+.TP
 .BI \-A " pre\-processor\-define"
 Add config pre-processor define (e.g., -A WITH_AUTH, -A N=1, -A X='"Y"')
 .TP
@@ -160,10 +166,6 @@ Specifies the number of children processes forked to handle tcp incoming connect
 .BI \-n
 ).
 .TP
-.BI \-\-no\-atexit
-Skip atexit callbacks execution from external libraries
-which may access destroyed shm memory causing crash on shutdown.
-.TP
 .BI \-P " pid\-file"
 Creates a file containing the pid of the main
 .B kamailio