From 4e1754be87204681ad70ab4caaf2fb8732580bf2 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 19 Feb 2010 17:36:25 +0000 Subject: [PATCH] Enable/disable the initscript as well. --- plugins/codemux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/codemux.py b/plugins/codemux.py index 65623f3..7c24f8e 100644 --- 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"]) -- 2.43.0