add service template's default confgiure items.

This commit is contained in:
shuxin   zheng 2022-08-10 14:44:39 +08:00
parent 211b62d2ef
commit 689471da8f
9 changed files with 20 additions and 16 deletions

View File

@ -70,9 +70,9 @@ service $<PROGRAM>
# 当启动多个子进程实例时该开关控制多个子进程在接收连接时是否向 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

View File

@ -69,9 +69,9 @@ service $<PROGRAM>
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

View File

@ -73,9 +73,9 @@ service $<PROGRAM>
# 当启动多个子进程实例时该开关控制多个子进程在接收连接时是否向 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

View File

@ -72,9 +72,9 @@ service $<PROGRAM>
# 当启动多个子进程实例时该开关控制多个子进程在接收连接时是否向 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

View File

@ -70,9 +70,9 @@ service $<PROGRAM>
# 当启动多个子进程实例时该开关控制多个子进程在接收连接时是否向 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

View File

@ -69,9 +69,9 @@ service $<PROGRAM>
# 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

View File

@ -73,9 +73,9 @@ service $<PROGRAM>
# 当启动多个子进程实例时该开关控制多个子进程在接收连接时是否向 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

View File

@ -41,9 +41,9 @@ service $<PROGRAM>
# 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

View File

@ -51,6 +51,10 @@ service server
master_log = {install_path}/var/log/$<PROGRAM>.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") 获得此值