From 680b9e7311f8ccd0fa5190ec31a5274fbcd8a4be Mon Sep 17 00:00:00 2001 From: Balbir Singh Date: Mon, 23 Feb 2009 14:41:10 +0000 Subject: From: Ivana Varekova This patch fixes spec file handling of daemon parts of libcg (add chkconfig to post and including dependency, fix preun script). And fix the levels in which is this daemon start by default (should not be any). Signed-off-by: Ivana Varekova Signed-off-by: Balbir Singh git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@338 4f4bb910-9a46-0410-90c8-c897d4f1cd53 --- scripts/init.d/cgconfig | 4 +--- scripts/init.d/cgred | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/init.d/cgconfig b/scripts/init.d/cgconfig index 507320f..ad490ce 100644 --- a/scripts/init.d/cgconfig +++ b/scripts/init.d/cgconfig @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # cgconfig Control Groups Configuration Startup -# chkconfig: 2345 80 20 +# chkconfig: - 13 87 # description: This script runs the cgconfigparser utility to parse and setup # the control group filesystem. It uses /etc/cgconfig.conf # and parses the configuration specified in there. @@ -25,8 +25,6 @@ # Required-Stop: $local_fs $syslog # Should-Start: # Should-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 # Short-Description: start and stop the WLM configuration # Description: This script allows us to create a default configuration ### END INIT INFO diff --git a/scripts/init.d/cgred b/scripts/init.d/cgred index bdd7979..b4a112b 100644 --- a/scripts/init.d/cgred +++ b/scripts/init.d/cgred @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # cgred GGroups Rules Engine Daemon -# chkconfig: 2345 80 20 +# chkconfig: - 13 87 # description: This is a daemon for automatically classifying processes \ # into cgroups based on UID/GID. # @@ -27,8 +27,6 @@ # Required-Stop: $local_fs $syslog # Should-Start: # Should-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 # Short-Description: start and stop the cgroups rules engine daemon # Description: CGroup Rules Engine is a tool for automatically using \ # cgroups to classify processes -- cgit