瀏覽代碼

ctl: fix default path for doc examples

Stefan Mititelu 8 年之前
父節點
當前提交
ed383a384d
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/modules/ctl/doc/ctl_params.xml
  2. 2 2
      src/modules/ctl/doc/ctl_rpc.xml

+ 1 - 1
src/modules/ctl/doc/ctl_params.xml

@@ -75,7 +75,7 @@ loadmodule "ctl"
 # optional listen addresses, if no one is specified,
 # ctl will listen on unixs:/tmp/ser_ctl
 
-modparam("ctl", "binrpc", "unix:/tmp/&ctlsocket;") # default
+modparam("ctl", "binrpc", "unix:/var/run/&kamailiobinary;/&kamailiobinary;_ctl") # default
 modparam("ctl", "binrpc", "udp:localhost:2046")
 modparam("ctl", "binrpc", "tcp:localhost:2046")
 modparam("ctl", "binrpc", "unixd:/tmp/unix_dgram")  # unix datagram

+ 2 - 2
src/modules/ctl/doc/ctl_rpc.xml

@@ -23,7 +23,7 @@
 		<title><function>print</function> usage</title>
 		<programlisting>
  $ &sercmd; -f"[%v] %v:%v %v\n" ctl.listen
-[binrpc] unix_stream:/tmp/&ctlsocket;
+[binrpc] unix_stream:/var/run/&kamailiobinary;/&kamailiobinary;_ctl
  
 # note: the above command is equivalent with &sercmd; listen
 		</programlisting>
@@ -53,7 +53,7 @@
 		<title><function>ctl.who</function> usage</title>
 		<programlisting>
  $ &sercmd; -f"[%v] %v: %v %v -> %v %v\n" ctl.who
-[binrpc] unix_stream: &lt;anonymous unix socket&gt;  -> /tmp/&ctlsocket;
+[binrpc] unix_stream: &lt;anonymous unix socket&gt;  -> /var/run/&kamailiobinary;/&kamailiobinary;_ctl
 
 # note the above command is equivalent to &sercmd; who
 		</programlisting>