From 689471da8f5dd489b268ea5e937dcfb91fcde9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?shuxin=20=E3=80=80=E3=80=80zheng?= Date: Wed, 10 Aug 2022 14:44:39 +0800 Subject: [PATCH] add service template's default confgiure items. --- app/wizard/tmpl/http/master_fiber.cf | 4 ++-- app/wizard/tmpl/http/master_proc.cf | 4 ++-- app/wizard/tmpl/http/master_threads.cf | 4 ++-- app/wizard/tmpl/master/master_aio.cf | 4 ++-- app/wizard/tmpl/master/master_fiber.cf | 4 ++-- app/wizard/tmpl/master/master_proc.cf | 4 ++-- app/wizard/tmpl/master/master_threads.cf | 4 ++-- app/wizard/tmpl/master/master_trigger.cf | 4 ++-- app/wizard/tmpl/master/master_udp.cf | 4 ++++ 9 files changed, 20 insertions(+), 16 deletions(-) diff --git a/app/wizard/tmpl/http/master_fiber.cf b/app/wizard/tmpl/http/master_fiber.cf index 7dd670dd0..8f6cbec13 100644 --- a/app/wizard/tmpl/http/master_fiber.cf +++ b/app/wizard/tmpl/http/master_fiber.cf @@ -70,9 +70,9 @@ service $ # 当启动多个子进程实例时,该开关控制多个子进程在接收连接时是否向 acl_master 发送消息报告自己的状态 # master_status_notify = 1 # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/tderr.log # 是否允许产生 core 文件 # fiber_enable_core = 1 diff --git a/app/wizard/tmpl/http/master_proc.cf b/app/wizard/tmpl/http/master_proc.cf index c37be7858..50badec74 100644 --- a/app/wizard/tmpl/http/master_proc.cf +++ b/app/wizard/tmpl/http/master_proc.cf @@ -69,9 +69,9 @@ service $ master_env = logme:FALSE, priority:E_LOG_INFO, action:E_LOG_PER_DAY, flush:sync_flush, imit_size:512,\ sync_action:E_LOG_SEM, sem_name:/tmp/single_echo.sem # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # single_enable_core = 1 diff --git a/app/wizard/tmpl/http/master_threads.cf b/app/wizard/tmpl/http/master_threads.cf index 3222a38ba..4d4ec7783 100644 --- a/app/wizard/tmpl/http/master_threads.cf +++ b/app/wizard/tmpl/http/master_threads.cf @@ -73,9 +73,9 @@ service $ # 当启动多个子进程实例时,该开关控制多个子进程在接收连接时是否向 acl_master 发送消息报告自己的状态 # master_status_notify = 1 # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # ioctl_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_aio.cf b/app/wizard/tmpl/master/master_aio.cf index 27bbd4b6c..0ac0e8d9c 100644 --- a/app/wizard/tmpl/master/master_aio.cf +++ b/app/wizard/tmpl/master/master_aio.cf @@ -72,9 +72,9 @@ service $ # 当启动多个子进程实例时,该开关控制多个子进程在接收连接时是否向 acl_master 发送消息报告自己的状态 # master_status_notify = 1 # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # aio_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_fiber.cf b/app/wizard/tmpl/master/master_fiber.cf index a1f8f7f1c..7f06f8e10 100644 --- a/app/wizard/tmpl/master/master_fiber.cf +++ b/app/wizard/tmpl/master/master_fiber.cf @@ -70,9 +70,9 @@ service $ # 当启动多个子进程实例时,该开关控制多个子进程在接收连接时是否向 acl_master 发送消息报告自己的状态 # master_status_notify = 1 # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # fiber_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_proc.cf b/app/wizard/tmpl/master/master_proc.cf index a723d87c8..2a8aa649a 100644 --- a/app/wizard/tmpl/master/master_proc.cf +++ b/app/wizard/tmpl/master/master_proc.cf @@ -69,9 +69,9 @@ service $ # master_env = logme:FALSE, priority:E_LOG_INFO, action:E_LOG_PER_DAY, flush:sync_flush, imit_size:512,\ sync_action:E_LOG_SEM, sem_name:/tmp/single_echo.sem # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # single_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_threads.cf b/app/wizard/tmpl/master/master_threads.cf index 0e55a7c38..ed867d85e 100644 --- a/app/wizard/tmpl/master/master_threads.cf +++ b/app/wizard/tmpl/master/master_threads.cf @@ -73,9 +73,9 @@ service $ # 当启动多个子进程实例时,该开关控制多个子进程在接收连接时是否向 acl_master 发送消息报告自己的状态 # master_status_notify = 1 # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # ioctl_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_trigger.cf b/app/wizard/tmpl/master/master_trigger.cf index 370332149..9e26cd9c6 100644 --- a/app/wizard/tmpl/master/master_trigger.cf +++ b/app/wizard/tmpl/master/master_trigger.cf @@ -41,9 +41,9 @@ service $ # master_env = logme:FALSE, priority:E_LOG_INFO, action:E_LOG_PER_DAY, flush:sync_flush, imit_size:512,\ # sync_action:E_LOG_SEM, sem_name:/tmp/trigger.sem # 程序标准输出重定向至指定文件中 -# master_stdout = {install_path}/var/log/dnsmasq-stdout.log +# master_stdout = {install_path}/var/log/stdout.log # 程序错误输出重定向至指定文件中 -# master_stderr = {install_path}/var/log/dnsmasq-stderr.log +# master_stderr = {install_path}/var/log/stderr.log # 是否允许产生 core 文件 # trigger_enable_core = 1 diff --git a/app/wizard/tmpl/master/master_udp.cf b/app/wizard/tmpl/master/master_udp.cf index 0e96faf92..fad2c7f16 100644 --- a/app/wizard/tmpl/master/master_udp.cf +++ b/app/wizard/tmpl/master/master_udp.cf @@ -51,6 +51,10 @@ service server master_log = {install_path}/var/log/$.log # 调试日志方式,格式:tag:level; tag:level; tab:level, 如:all:1; 101:2 # master_debug = +# 程序标准输出重定向至指定文件中 +# master_stdout = {install_path}/var/log/stdout.log +# 程序错误输出重定向至指定文件中 +# master_stderr = {install_path}/var/log/stderr.log # 进程启动参数,只能为: -u [是否允许以某普通用户的身份运行] # master_args = # 传递给服务子进程的环境变量, 可以通过 getenv("SERVICE_ENV") 获得此值