diff options
author | Erich Eckner <git@eckner.net> | 2024-07-17 22:56:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-07-17 22:56:12 +0200 |
commit | adb23dead22d7367396aedd900cfa22eb0ecdcd2 (patch) | |
tree | 55b7b3996df22f99f183ec5ee0248816c6e82f39 /openvpn3/openvpn3.install | |
parent | 97526404d3d7e41616bad7fc2870d95e32842fdd (diff) | |
download | archlinuxewe-adb23dead22d7367396aedd900cfa22eb0ecdcd2.tar.xz |
openvpn3: 20-18 -> 22_dev-1
Diffstat (limited to 'openvpn3/openvpn3.install')
-rw-r--r-- | openvpn3/openvpn3.install | 10 |
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 } |