From: Dobrica Pavlinusic Date: Sat, 11 Feb 2012 18:43:54 +0000 (+0100) Subject: save logs to slice directory X-Git-Url: http://git.rot13.org/?p=cloudstore.git;a=commitdiff_plain;h=852ced73952c6734e74e7132614ea13ca1fadfd9 save logs to slice directory --- diff --git a/init.d/_start_stop b/init.d/_start_stop index be4b97a..a839641 100755 --- a/init.d/_start_stop +++ b/init.d/_start_stop @@ -13,7 +13,7 @@ case $1 in start) cd /srv/cloudstore if [ "$BACKGROUND" -eq 1 ] ; then - ( $DAEMON 2>&1 ) >> /tmp/$NAME.log & + ( $DAEMON 2>&1 ) >> $SLICE/log/$NAME.log & echo $! > /tmp/$NAME.pid else $DAEMON