mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
update
This commit is contained in:
@@ -9,7 +9,7 @@ Type=simple
|
||||
User=www
|
||||
Group=www
|
||||
WorkingDirectory={$SERVER_PATH}/doh
|
||||
ExecStart={$SERVER_PATH}/doh/doh-proxy --config {$SERVER_PATH}/config.toml
|
||||
ExecStart={$SERVER_PATH}/doh/doh-proxy -u 127.0.0.1:53 -l 127.0.0.1:3000
|
||||
Restart=always
|
||||
RemainAfterExit=yes
|
||||
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
|
||||
@@ -14,7 +14,11 @@ fi
|
||||
|
||||
# cd /www/server/mdserver-web/plugins/doh && bash install.sh install 0.9.15
|
||||
|
||||
# /www/server/doh/doh-proxy --config /etc/doh-proxy/config.toml --check
|
||||
# /www/server/doh/doh-proxy --config /www/server/doh/config.toml
|
||||
# /www/server/doh/doh-proxy --config /www/server/doh/config.toml --check
|
||||
|
||||
|
||||
# doh-proxy -H 'doh.example.com' -u 127.0.0.1:53 -l 127.0.0.1:3000
|
||||
|
||||
# 详细状态信息
|
||||
# sudo systemctl status doh -l
|
||||
|
||||
Reference in New Issue
Block a user