reload traefik on tljh-config reload proxy

This commit is contained in:
Min RK
2018-07-30 15:00:59 +02:00
parent 581b4969f5
commit 7f07bfbec4

View File

@@ -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()