]> git.pld-linux.org Git - packages/libcgroup.git/commitdiff
- add informative mesaages in post
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 29 Mar 2011 18:48:28 +0000 (18:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libcgroup.spec -> 1.21

libcgroup.spec

index a6fc9b41787dec28081d905751dd8d330caf69af..6f7a4405653b28609425776e39c723bb577ce1d7 100644 (file)
@@ -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.104198 seconds and 4 git commands to generate.