From: Dobrica Pavlinusic Date: Thu, 8 Dec 2011 13:39:32 +0000 (+0100) Subject: append logs to existing files X-Git-Url: http://git.rot13.org/?p=cloudstore.git;a=commitdiff_plain;h=2a40b0b0ba48f07b2047368341babffef90f1711 append logs to existing files --- diff --git a/init.d/_start_stop b/init.d/_start_stop index bec49ec..b189a83 100755 --- a/init.d/_start_stop +++ b/init.d/_start_stop @@ -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