libcgroup/03-fedora-adjust-initscript-priority.patch
Dhaval Giani 6501285b8b - Change the cgconfig script to start earlier
- Move the binaries to /bin and /sbin
2009-03-09 12:30:29 +00:00

31 lines
1.1 KiB
Diff

libcgroup: Start the config earlier
From: Jan Safranek <jsafrane@redhat.com>
For Fedora, we want to start the cgconfig as soon as possible,
i.e. when /usr might not be mounted. We don't need syslog, time nor
$local_fs (see bug #309001).
diff -up libcgroup-0.33/scripts/init.d/cgconfig.orig libcgroup-0.33/scripts/init.d/cgconfig
--- libcgroup-0.33/scripts/init.d/cgconfig.orig 2009-03-08 20:46:12.000000000 +0100
+++ libcgroup-0.33/scripts/init.d/cgconfig 2009-03-08 20:45:01.000000000 +0100
@@ -14,15 +14,15 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# cgconfig Control Groups Configuration Startup
-# chkconfig: - 13 87
+# chkconfig: - 5 95
# 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.
### BEGIN INIT INFO
# Provides: cgconfig
-# Required-Start: $local_fs $syslog $time
-# Required-Stop: $local_fs $syslog
+# Required-Start:
+# Required-Stop:
# Should-Start:
# Should-Stop:
# Short-Description: start and stop the WLM configuration