X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=config%2Fsfa-config-tty;fp=config%2Fsfa-config-tty;h=029cfa1283b375222bcb679fa498897f7ad272a2;hb=e4aafa7da681902d0c937b769830c302d38f8815;hp=1eea7dc85b5c3e782a773c351a225a19dd3c63ba;hpb=16c8c088c4af3a872f7950ddc4a7bd3b05ed462b;p=sfa.git diff --git a/config/sfa-config-tty b/config/sfa-config-tty index 1eea7dc8..029cfa12 100755 --- a/config/sfa-config-tty +++ b/config/sfa-config-tty @@ -229,7 +229,8 @@ def reload_service(): def restart_service(): services = ('sfa-db', 'sfa-aggregate', 'sfa-registry') for service in services: - restart = ("systemctl -q is-active {s} && {{ echo restarting {s} ; systemctl restart {s}; }}" + restart = ("systemctl -q is-active {s} && " + "{{ echo restarting {s} ; systemctl restart {s}; }}" .format(s=service)) os.system(restart)