更新启动脚本, 修改默认日志路径
This commit is contained in:
parent
8827d5ca15
commit
3380bda9a6
@ -15,6 +15,8 @@ module.exports = {
|
|||||||
watch : true, // optional
|
watch : true, // optional
|
||||||
instances : 2,
|
instances : 2,
|
||||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||||
|
// error_file : '', // error日志路径
|
||||||
|
// out_file : '', // out日志路径
|
||||||
env: {
|
env: {
|
||||||
DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
|
||||||
NODE_ENV: "production",
|
NODE_ENV: "production",
|
||||||
@ -27,6 +29,8 @@ module.exports = {
|
|||||||
watch : true, // optional
|
watch : true, // optional
|
||||||
instances : 1,
|
instances : 1,
|
||||||
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
|
||||||
|
// error_file : '', // error日志路径
|
||||||
|
// out_file : '', // out日志路径
|
||||||
env: {
|
env: {
|
||||||
DEBUG: "colyseus:errors,jc:*",
|
DEBUG: "colyseus:errors,jc:*",
|
||||||
NODE_ENV: "production",
|
NODE_ENV: "production",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user