mokeyish / smartdns-rs

A cross platform local DNS server (Dnsmasq like) written in rust to obtain the fastest website IP for the best Internet experience, supports DoT, DoQ, DoH, DoH3.
GNU General Public License v3.0
549 stars 38 forks source link

service install安装成服务能否指定conf文件? #240

Closed xsd871 closed 3 months ago

xsd871 commented 6 months ago

service install安装成服务能否指定conf文件?目前发现安装之后是重新生成的配置,不是读取文件夹下的配置 需要重新编辑一下

mokeyish commented 6 months ago

默认不会覆盖配置的。而且加个 default 后缀。

https://github.com/mokeyish/smartdns-rs/blob/458a80c029f62c9bdd78b23f9f4cd949e66f473e/src/service/installer.rs#L390