From: Jan Safranek Date: Fri, 3 Dec 2010 09:39:28 +0000 (+0100) Subject: The cgrulesengd parameter to set different log file is --logfile, X-Git-Tag: v0.37~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b22619d505616d78a92f7c0babc267c21f0bc93a;p=thirdparty%2Flibcgroup.git The cgrulesengd parameter to set different log file is --logfile, not --log-file. Signed-off-by: Jan Safranek Acked-by: Balbir Singh --- diff --git a/scripts/init.d/cgred.in b/scripts/init.d/cgred.in index c05ddf0d..784bddc1 100644 --- a/scripts/init.d/cgred.in +++ b/scripts/init.d/cgred.in @@ -48,7 +48,7 @@ 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" + OPTIONS="$OPTIONS --logfile=$LOG_FILE" fi if [ -n "$SOCKET_USER" ]; then OPTIONS="$OPTIONS -u $SOCKET_USER"