]> git.pld-linux.org Git - packages/libcgroup.git/blobdiff - libcgroup.spec
- rel 2
[packages/libcgroup.git] / libcgroup.spec
index a6fc9b41787dec28081d905751dd8d330caf69af..7412ceca142f5a95857a5a32292a5e6cd7bba0c9 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Tools and library to control and monitor control groups
 Summary(pl.UTF-8):     NarzÄ™dzia i biblioteka do kontrolowania i monitorowania grup kontroli
 Name:          libcgroup
-Version:       0.37
-Release:       2.5
+Version:       0.37.1
+Release:       2
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
-# Source0-md5: beecca8770155afa62981076e96d4c9c
+# Source0-md5: 24a41b18de112e8d085bb1f7d9e82af7
 Source1:       cgconfig.init
 Source2:       cgred.init
 Patch0:                %{name}-pam.patch
@@ -121,6 +121,12 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/ldconfig
 /sbin/chkconfig --add cgred
 /sbin/chkconfig --add cgconfig
+if [ ! -f /var/lock/subsys/cgconfig ]; then
+       echo 'Run "/sbin/service cgconfig start" to setup cgroup rules.'
+fi
+if [ ! -f /var/lock/subsys/cgred ]; then
+       echo 'Run "/sbin/service cgred start" to start control group rules daemon.'
+fi
 
 %preun
 if [ $1 = 0 ]; then
This page took 0.053297 seconds and 4 git commands to generate.