File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Type=simple
99User=www
1010Group=www
1111WorkingDirectory={ $SERVER_PATH } /doh
12- ExecStart={ $SERVER_PATH } /doh/doh-proxy --config { $ SERVER_PATH } /config.toml
12+ ExecStart={ $SERVER_PATH } /doh/doh-proxy -u 127.0.0.1:53 -l 127.0.0.1:3000
1313Restart=always
1414RemainAfterExit=yes
1515#AmbientCapabilities=CAP_NET_BIND_SERVICE
Original file line number Diff line number Diff line change 1414
1515# cd /www/server/mdserver-web/plugins/doh && bash install.sh install 0.9.15
1616
17- # /www/server/doh/doh-proxy --config /etc/doh-proxy/config.toml --check
17+ # /www/server/doh/doh-proxy --config /www/server/doh/config.toml
18+ # /www/server/doh/doh-proxy --config /www/server/doh/config.toml --check
19+
20+
21+ # doh-proxy -H 'doh.example.com' -u 127.0.0.1:53 -l 127.0.0.1:3000
1822
1923# 详细状态信息
2024# sudo systemctl status doh -l
You can’t perform that action at this time.
0 commit comments