summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Wright2019-05-19 18:30:06 +0100
committerJonathan Wright2019-05-19 18:30:06 +0100
commitd985ce74c79e808221b2558c8ee5e7efc84f6b7d (patch)
treeae14759af0ea9caff83265328257cb9880c1db84
parentbbb0c43dd99c7fd4361cbf72e109303c1ae24f82 (diff)
downloadaur-d985ce74c79e808221b2558c8ee5e7efc84f6b7d.tar.gz
Add new notes about up-restart
-rw-r--r--openvpn-update-systemd-resolved.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/openvpn-update-systemd-resolved.install b/openvpn-update-systemd-resolved.install
index 701bbd40b7b1..331fc92923b0 100644
--- a/openvpn-update-systemd-resolved.install
+++ b/openvpn-update-systemd-resolved.install
@@ -5,6 +5,7 @@ post_install() {
echo " script-security 2"
echo " setenv PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
echo " up /etc/openvpn/scripts/update-systemd-resolved"
+ echo " up-restart"
echo " down /etc/openvpn/scripts/update-systemd-resolved"
echo " down-pre"
echo
@@ -18,4 +19,9 @@ post_upgrade() {
echo " up /etc/openvpn/scripts/update-systemd-resolved"
echo " down /etc/openvpn/scripts/update-systemd-resolved"
echo
+ echo "If you are using persist-tun and ping-restart, you should add up-restart"
+ echo "to your configuration so that update-systemd-resolved is called when"
+ echo "there is a partial restart of the connection. Otherwise, or your DNS"
+ echo "configuration may not be restored."
+ echo
}