qubes-nmhook 331 B

1234567891011121314
  1. #!/bin/sh
  2. # Source Qubes library.
  3. # shellcheck source=init/functions
  4. . /usr/lib/qubes/init/functions
  5. /usr/lib/qubes/qubes-setup-dnat-to-ns
  6. # FIXME: Tinyproxy does not reload DNS servers.
  7. if under_systemd ; then
  8. systemctl --no-block try-restart qubes-updates-proxy.service
  9. else
  10. service qubes-updates-proxy try-restart
  11. fi