From 7f07bfbec4c82dec124fb92b450bd4db5e6222f2 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 30 Jul 2018 15:00:59 +0200 Subject: [PATCH] reload traefik on `tljh-config reload proxy` --- tljh/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tljh/config.py b/tljh/config.py index 8398465..f1a146d 100644 --- a/tljh/config.py +++ b/tljh/config.py @@ -157,6 +157,7 @@ def reload_component(component): print('Hub reload with new configuration complete') elif component == 'proxy': systemd.restart_service('configurable-http-proxy') + systemd.restart_service('traefik') print('Proxy reload with new configuration complete') @@ -238,5 +239,6 @@ def main(): elif args.action == 'reload': reload_component(args.component) + if __name__ == '__main__': - main() \ No newline at end of file + main()