From 852ced73952c6734e74e7132614ea13ca1fadfd9 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 11 Feb 2012 19:43:54 +0100 Subject: [PATCH] save logs to slice directory --- init.d/_start_stop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1