更新启动脚本, 修改默认日志路径

This commit is contained in:
zhl 2020-12-18 13:06:40 +08:00
parent 8827d5ca15
commit 3380bda9a6

View File

@ -15,6 +15,8 @@ module.exports = {
watch : true, // optional
instances : 2,
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
// error_file : '', // error日志路径
// out_file : '', // out日志路径
env: {
DEBUG: "colyseus:errors,colyseus:matchmaking,jc:*",
NODE_ENV: "production",
@ -27,6 +29,8 @@ module.exports = {
watch : true, // optional
instances : 1,
exec_mode : 'fork', // IMPORTANT: do not use cluster mode.
// error_file : '', // error日志路径
// out_file : '', // out日志路径
env: {
DEBUG: "colyseus:errors,jc:*",
NODE_ENV: "production",