update
This commit is contained in:
parent
51d4e187b6
commit
cd499edd6c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue