add doc for smartdns command line
This commit is contained in:
@@ -86,4 +86,19 @@ hide:
|
||||
| dualstack-ip-selection-threshold | 双栈 IP 优选阈值 | 10ms | 单位为毫秒(ms) | dualstack-ip-selection-threshold [0-1000] |
|
||||
| user | 进程运行用户 | root | user [username] | user nobody |
|
||||
| ca-file | 证书文件 | /etc/ssl/<br />certs/ca-certificates.crt | 合法路径字符串 | ca-file /etc/ssl/certs/ca-certificates.crt |
|
||||
| ca-path | 证书文件路径 | /etc/ssl/certs | 合法路径字符串 | ca-path /etc/ssl/certs |
|
||||
| ca-path | 证书文件路径 | /etc/ssl/certs | 合法路径字符串 | ca-path /etc/ssl/certs |
|
||||
|
||||
## 命令行参数
|
||||
|
||||
smartdns的命令行参数功能如下,也可通过`smartdns -h`来查看帮助。
|
||||
|
||||
| 选项 | 功能 | 默认值 | 说明
|
||||
| --- | --- | --- | --- |
|
||||
| -f | 前台运行 | 无 |默认情况下,程序采用后台守护程序运行
|
||||
| -c | 配置文件路径 | /etc/smartdns/smartdns.conf
|
||||
| -p | pid文件 | /run/smartdns.pid | 进程pid文件路径
|
||||
| -R | 异常自动重启 | 无 | 进程故障时,自动重启进程
|
||||
| -S | 生成coredump | 无 | 进程故障时,生成coredump文件,用于调试定位
|
||||
| -x | 输入日志到终端 | 无 | 输出日志到终端
|
||||
| -v | 显示版本 | 无 |
|
||||
| -h | 显示命令行帮助 | 无 |
|
||||
|
||||
Reference in New Issue
Block a user