summaryrefslogtreecommitdiff
path: root/openvpn3/openvpn3.install
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn3/openvpn3.install')
-rw-r--r--openvpn3/openvpn3.install10
1 files changed, 8 insertions, 2 deletions
diff --git a/openvpn3/openvpn3.install b/openvpn3/openvpn3.install
index cd76ebfbd..e44ccc3af 100644
--- a/openvpn3/openvpn3.install
+++ b/openvpn3/openvpn3.install
@@ -1,4 +1,10 @@
post_install() {
- sudo openvpn3-admin init-config --write-configs
- sudo systemctl reload dbus
+ openvpn3-admin init-config --write-configs
+ systemctl reload dbus
+}
+
+post_upgrade() {
+ openvpn3-admin init-config --write-configs
+ systemctl reload dbus
+ systemctl restart net.openvpn.v3.netcfg.slice
}