walkor há 12 anos atrás
pai
commit
5f6d102bc3
2 ficheiros alterados com 2 adições e 3 exclusões
  1. 0 2
      bin/workermand
  2. 2 1
      conf/workerman.conf

+ 0 - 2
bin/workermand

@@ -47,8 +47,6 @@ define('DEFAULT_SHM_SIZE', $shm_size);
 
 require_once WORKERMAN_ROOT_DIR . "man/Core/Master.php";
 
-chdir(WORKERMAN_ROOT_DIR."Core");
-
 //检查pid对应的进程是否存在,不存在删除PID文件
 if($cmd != 'status' && is_file(WORKERMAN_PID_FILE))
 {

+ 2 - 1
conf/workerman.conf

@@ -7,4 +7,5 @@ log_dir=../logs/
 ;共享内存及消息队列用到的key
 ipc_key=0x70010a2e
 ;开启共享内存大小
-shm_size=393216
+shm_size=393216
+indlue = conf.d/*.conf