append logs to existing files
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Thu, 8 Dec 2011 13:39:32 +0000 (14:39 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Thu, 8 Dec 2011 13:39:32 +0000 (14:39 +0100)
init.d/_start_stop

index bec49ec..b189a83 100755 (executable)
@@ -6,7 +6,7 @@ case $1 in
        start)
                cd /srv/cloudstore
                if [ "$BACKGROUND" -eq 1 ] ; then
-                       ( $DAEMON 2>&1 ) > /tmp/$NAME.log &
+                       ( $DAEMON 2>&1 ) >> /tmp/$NAME.log &
                        echo $! > /tmp/$NAME.pid
                else
                        $DAEMON