packages: libcgroup/cgred.init - fix killproc usage
baggins
baggins at pld-linux.org
Tue Feb 8 20:52:54 CET 2011
Author: baggins Date: Tue Feb 8 19:52:54 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix killproc usage
---- Files affected:
packages/libcgroup:
cgred.init (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/libcgroup/cgred.init
diff -u packages/libcgroup/cgred.init:1.6 packages/libcgroup/cgred.init:1.7
--- packages/libcgroup/cgred.init:1.6 Tue Feb 8 20:18:57 2011
+++ packages/libcgroup/cgred.init Tue Feb 8 20:52:48 2011
@@ -57,7 +57,7 @@
fi
msg_stopping "CGroup Rules Engine Daemon"
- killproc -p /var/run/cgred.pid cgrulesengd -TERM
+ killproc --pidfile /var/run/cgred.pid cgrulesengd -TERM
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
rm -f /var/lock/subsys/cgred /var/run/cgred.pid
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcgroup/cgred.init?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list