FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupcentos @
categoriescentos
postedJan 25, '12 at 8:08a
activeJan 25, '12 at 8:08a
posts1
users1
websitecentos.org
irc#centos

1 user in discussion

Jerry Geis: 1 post

People

Translate

site design / logo © 2022 Grokbase