Skip to content

Commit cd499ed

Browse files
committed
update
1 parent 51d4e18 commit cd499ed

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

plugins/doh/init.d/doh.service.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Type=simple
99
User=www
1010
Group=www
1111
WorkingDirectory={$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
1313
Restart=always
1414
RemainAfterExit=yes
1515
#AmbientCapabilities=CAP_NET_BIND_SERVICE

plugins/doh/install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ fi
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

0 commit comments

Comments
 (0)