浏览代码

UNIX domain socket stuff.

Chris McDonough 19 年之前
父节点
当前提交
0f328f58fc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sample.conf

+ 2 - 1
sample.conf

@@ -25,7 +25,8 @@ backofflimit=3              ; (child process restart seconds;default 3)
 ;directory=/tmp              ; (default is not to cd during start)
 
 [supervisorctl]
-serverurl=http://127.0.0.1:9001
+serverurl=unix://supervisor.sock ; use a unix:// URL to specify a domain socket
+;serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
 ;username=chris              ; should be same as xmlrpc_username if set
 ;password=123                ; should be same as xmlrpc_password if set
 ;prompt=mysupervisor         ; cmd line prompt (default "supervisor")