2013-03-13 02:26:40 +01:00
|
|
|
#!/bin/sh
|
2016-10-22 17:43:16 +02:00
|
|
|
|
|
|
|
# Source Qubes library.
|
2017-09-30 03:17:14 +02:00
|
|
|
# shellcheck source=init/functions
|
2016-10-22 17:43:16 +02:00
|
|
|
. /usr/lib/qubes/init/functions
|
|
|
|
|
2013-03-13 02:26:40 +01:00
|
|
|
/usr/lib/qubes/qubes-setup-dnat-to-ns
|
2015-12-19 18:44:32 +01:00
|
|
|
|
2016-10-22 17:43:16 +02:00
|
|
|
# FIXME: Tinyproxy does not reload DNS servers.
|
|
|
|
if under_systemd ; then
|
|
|
|
systemctl --no-block try-restart qubes-updates-proxy.service
|
2015-12-19 18:44:32 +01:00
|
|
|
else
|
2016-10-22 17:43:16 +02:00
|
|
|
service qubes-updates-proxy try-restart
|
2015-12-19 18:44:32 +01:00
|
|
|
fi
|