appending to logfile

This commit is contained in:
Udo Waechter
2013-06-05 15:56:03 +02:00
parent 44c8ba91bc
commit 96f25ace50
2 changed files with 1 additions and 43 deletions

View File

@@ -66,7 +66,7 @@ if [ ${ISUNIIP} -gt 0 ]; then
# wait maximally $MAXSLEEP seconds
sleep $(expr ${SLEEP} % ${MAXSLEEP})
# run puppetd
nice -n 12 $PUPPET agent -t 2&>/var/log/puppet/puppetd_run.log
nice -n 12 $PUPPET agent -t 2&>>/var/log/puppet/puppetd_run.log
fi
fi
# cleanup the pidfile