how to run tail -f for 3 log files from a script

hi

i need to run from a bash script
tail -f /var/log/access_log >> access1
tail -f /var/log/prod/prod1 >> access1
tail -f /var/log/prod/prod2 >> access1

this script purpose is to start at server boot time
and should always run.

what is the best way to put it on a script

Thanks
Dan

Put the tail -f contents in a file ..

$ cat infile.sh
tail -f /var/log/access_log | tee -a access1 &
tail -f /var/log/prod/prod1 | tee -a access1 &
tail -f /var/log/prod/prod2 | tee -a access1 &
$

Run infile.sh as follows ..

$ sh infile.sh >/dev/null &