git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shebangs need to point at python2
[sfa.git]
/
config
/
sfa-config-tty
diff --git
a/config/sfa-config-tty
b/config/sfa-config-tty
index
ce25b56
..
029cfa1
100755
(executable)
--- a/
config/sfa-config-tty
+++ b/
config/sfa-config-tty
@@
-28,7
+28,6
@@
usual_variables = [
"SFA_REGISTRY_ROOT_AUTH",
"SFA_REGISTRY_HOST",
"SFA_AGGREGATE_HOST",
"SFA_REGISTRY_ROOT_AUTH",
"SFA_REGISTRY_HOST",
"SFA_AGGREGATE_HOST",
- "SFA_SM_HOST",
"SFA_DB_HOST",
]
"SFA_DB_HOST",
]
@@
-230,7
+229,8
@@
def reload_service():
def restart_service():
services = ('sfa-db', 'sfa-aggregate', 'sfa-registry')
for service in services:
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)
.format(s=service))
os.system(restart)