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:
697b755
)
Enable/disable the initscript as well.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Fri, 19 Feb 2010 17:36:25 +0000
(17:36 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Fri, 19 Feb 2010 17:36:25 +0000
(17:36 +0000)
plugins/codemux.py
patch
|
blob
|
history
diff --git
a/plugins/codemux.py
b/plugins/codemux.py
index
65623f3
..
7c24f8e
100644
(file)
--- a/
plugins/codemux.py
+++ b/
plugins/codemux.py
@@
-155,9
+155,11
@@
def startService():
if not isRunning():
logger.log("codemux: Starting codemux service")
logger.log_call(["/etc/init.d/codemux", "start", ])
+ logger.log_call(["/sbin/chkconfig", "codemux", "on"])
def stopService():
if isRunning():
logger.log("codemux: Stopping codemux service")
logger.log_call(["/etc/init.d/codemux", "stop", ])
+ logger.log_call(["/sbin/chkconfig", "codemux", "off"])