[CentOS] upstart question

Wed Jan 25 13:08:34 UTC 2012
Jerry Geis <geisj at pagestation.com>

I am trying to migrate from old /etc/inittab to upstart.
I am close.

I used to have 2 or 4 lines in /etc/inittab to start 2 or 4 processes.
v1:2345:respawn:/home/silentm/bin/myfile -port 4000
v2:2345:respawn:/home/silentm/bin/myfile -port 5000

something like that...

So now I create a file /etc/init/myfile.conf and in it I put:

respawn
script
/home/silentm/bin/myfile -port 4000
/home/silentm/bin/myfile -port 5000
endscript

Only the first process is created. I think I have to do something with 
"instance 2"
but I wasnt getting results with that either.

What am I missing in the myfile.conf to get the two processes running ?

Thanks,

Jerry