4e3076f0b6
Apparently tinyproxy does not notice /etc/resolv.conf change, so need to be kicked to reload it. Fixes QubesOS/qubes-issues#1530
10 lines
253 B
Bash
Executable File
10 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
|
|
|
# Tinyproxy does not reload DNS servers
|
|
if [ -x /bin/systemctl ]; then
|
|
/bin/systemctl --no-block try-restart qubes-updates-proxy.service
|
|
else
|
|
/usr/sbin/service qubes-updates-proxy try-restart
|
|
fi
|