From ae5cbde8b721fd326cc4c57fe7aa2a01d5aaccca Mon Sep 17 00:00:00 2001 From: Wytze van der Raay Date: Mon, 28 Dec 2009 15:14:40 +0000 Subject: [PATCH] Make client script append to rather than overwrite the nohup.out file. --- CommModule/commdaemon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommModule/commdaemon b/CommModule/commdaemon index 75e5ba8..6cdd4ae 100755 --- a/CommModule/commdaemon +++ b/CommModule/commdaemon @@ -1,5 +1,5 @@ #! /bin/bash -# @(#)(CAcert) $Id: commdaemon,v 1.1 2009/12/28 15:09:24 wytze Exp $ +# @(#)(CAcert) $Id: commdaemon,v 1.2 2009/12/28 15:14:40 wytze Exp $ # commdaemon - script to run CommModule script in a loop, # while checking for removal of activation by external script @@ -38,7 +38,7 @@ syslog_notice "main loop started" while [ -f ${ACTIVE} ] do syslog_notice "${SCRIPT} started" - ${SCRIPT} >nohup.out 2>&1 + ${SCRIPT} >>nohup.out 2>&1 syslog_notice "${SCRIPT} ended" sleep 1 done