git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c25be1
)
fixed nasty bug
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 27 May 2014 09:16:17 +0000
(11:16 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 27 May 2014 09:16:17 +0000
(11:16 +0200)
plugins/vsys.py
patch
|
blob
|
history
diff --git
a/plugins/vsys.py
b/plugins/vsys.py
index
02161eb
..
c4f25e0
100644
(file)
--- a/
plugins/vsys.py
+++ b/
plugins/vsys.py
@@
-50,7
+50,7
@@
def GetSlivers(data, config=None, plc=None):
def handleService (keyword):
if tools.has_systemctl():
logger.log("vsys: %s'ing vsys service through systemctl"%keyword)
- return logger.log_call(["systemctl",
"restart"
, "vsys"])
+ return logger.log_call(["systemctl",
keyword
, "vsys"])
else:
logger.log("vsys: %s'ing vsys service through /etc/init.d/vsys"%keyword)
return logger.log_call(["/etc/init.d/vsys", keyword])