sbwml / luci-app-mosdns

一个 DNS 转发器 - OpenWrt 🎁 MosDNS v5 is Ready! 🎉
https://github.com/IrineSistiana/mosdns
1.1k stars 214 forks source link

大佬~~我用自定义yaml配置启动时候无法生成geosite_apple.txt #216

Closed DFP86 closed 4 months ago

DFP86 commented 4 months ago

如果用webui方式设置,是可以自动生成的。我在学习的过程中尝试自己修改yaml,结果发现启动时候无法自动生成geosite_apple.txt,而且会删掉这个文件。

系统的日志文件: Error: failed to init plugin #2 geosite_apple, failed to init plugin: failed to load file #0 /var/mosdns/geosite_apple.txt, open /var/mosdns/geosite_apple.txt: no such file or directory

FATAL failed to init plugin #2 geosite_apple, failed to init plugin: failed to load file #0 /var/mosdns/geosite_apple.txt, open /var/mosdns/geosite_apple.txt: no such file or directory

我去看看init.d文件

update:找到了 sh执行文件里手动加上 - f apple,好像行了,现在是另外的报错,我再看看~~

update2:我的yaml文件有地方写错了,仔细排查后,就ok了谢谢大佬~

sbwml commented 4 months ago

老六 我真的服了,还改脚本。

image

你看不到的咩。

DFP86 commented 4 months ago

老六 我真的服了,还改脚本。

image

你看不到的咩。

啊。。。我以为这个是导出备份用的。。。sorry[捂脸] 谢谢您