AdguardTeam / AdguardTeam/AdGuardHome

Support relative path when running as Windows Service

Aperta
#3,639 3 commenti 0 reazioni 1 assegnatario Rivendicata da @ainar-g Vedi su GitHub
compatibility enhancement P4: Low
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

OS: Windows

Issue
in `AdGuardHome.yml`, there is an option `upstream_dns_file`, which serves as an extension of the yaml config.
Usually I put the upstream_dns_file in the same folder , in other words, a relative path ref such as "upstream_dns_file: upstream_dns_file.txt" will do the trick when ADGuardHome is running as an exe file

However, when running as a Windows Service, ADGuardHome wont recognize such relative path ref, In other words, when running as a windows service, only absolute path such as `upstream_dns_file: D:\AdGuardHome\ups_domains.conf` will work

Can we make the Service part supports rel paths ? Thanks

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.