save logs to slice directory
[cloudstore.git] / init.d / _start_stop
index be4b97a..a839641 100755 (executable)
@@ -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