From 2a40b0b0ba48f07b2047368341babffef90f1711 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 8 Dec 2011 14:39:32 +0100 Subject: [PATCH] append logs to existing files --- 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 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 -- 2.20.1