mirror of
https://github.com/openwrt/packages.git
synced 2025-12-27 06:59:59 +04:00
https-dns-proxy: improve performance on restart
* instead of doing stop/start which involves restarting dnsmasq twice, kill the existing service instances on restart instead Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
@@ -279,6 +279,7 @@ service_triggers() {
|
||||
|
||||
service_started() { procd_set_config_changed firewall; }
|
||||
service_stopped() { procd_set_config_changed firewall; }
|
||||
restart() { procd_send_signal "$packageName"; }
|
||||
|
||||
dnsmasq_doh_server() {
|
||||
local cfg="$1" param="$2" address="${3:-127.0.0.1}" port="$4" i
|
||||
|
||||
Reference in New Issue
Block a user