appending to logfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user