Browse Source

Updated config-changed hook

Junaid Ali 3 years ago
parent
commit
8d618fed2a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      hooks/pg_gw_hooks.py

+ 2
- 0
hooks/pg_gw_hooks.py View File

@@ -85,6 +85,8 @@ def config_changed():
85 85
             log("Fabric interface already set")
86 86
         else:
87 87
             stop_pg()
88
+    if charm_config.changed('external-interfaces'):
89
+        stop_pg()
88 90
     if (charm_config.changed('install_sources') or
89 91
         charm_config.changed('plumgrid-build') or
90 92
         charm_config.changed('install_keys') or

Loading…
Cancel
Save