diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-02-23 14:10:58 +0000 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2009-02-23 14:10:58 +0000 |
commit | 570bace5f2ba75f4fcc10a75c72726e8706cf14c (patch) | |
tree | b6c744a9a665aa111844ae40e43a8a54884c0c52 /scripts | |
parent | 74f9a91b6bccc558ed90d02ae15cd2c9d49267cb (diff) | |
download | libcg-570bace5f2ba75f4fcc10a75c72726e8706cf14c.tar.gz libcg-570bace5f2ba75f4fcc10a75c72726e8706cf14c.tar.xz libcg-570bace5f2ba75f4fcc10a75c72726e8706cf14c.zip |
From: Ivana Varekova <varekova@redhat.com>
This patch changes cgconfig.conf - comment all rows and rename
example values - to have example which should be installed to /etc/.
Move cgred to /etc/sysconfig and patch spec to install all
/etc/* configuration files (at least they shows examples and
help to user to do their own configuration).).
Signed-off-by: Ivana Varekova <varekova@redhat.com>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
NOTE: The spec file is still broken due to lack of packaging of pam_cgroup.so.
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@337 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/init.d/cgred | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/init.d/cgred b/scripts/init.d/cgred index f0eebc4..bdd7979 100644 --- a/scripts/init.d/cgred +++ b/scripts/init.d/cgred @@ -48,8 +48,8 @@ CGRED_BIN=${exec_prefix}/${bindir}/cgrulesengd . /lib/lsb/init-functions # Read in configuration options. -if [ -f "/etc/cgred.d/cgred.conf" ] ; then - . /etc/cgred.d/cgred.conf +if [ -f "/etc/sysconfig/cgred.conf" ] ; then + . /etc/sysconfig/cgred.conf OPTIONS="$NODAEMON $LOG" if [ -n "$LOG_FILE" ]; then OPTIONS="$OPTIONS --log-file=$LOG_FILE" |