[CentOS] Question on sys v migrating to upstart

Jerry Geis geisj at pagestation.com
Tue Jan 24 14:00:52 UTC 2012


I presently have a line in /etc/inittab (for 5.X based systems) like:

which runs for any runlevel in 2345.

I am looking at migrating that to the new upstart stuff.

I can create a file in in /etc/init called myfile.conf
and in there have:

# /etc/init/myfile.conf
start on startup

This seems ok...

However - my question is how do I stop they myfile and restart it.
In the past I would comment out the entry in /etc/initttab and do "init q".
then put on the new version lets say... then uncomment the /etc/inittab 
entry and
do another "init q". How do I do that in the new upstart ?



More information about the CentOS mailing list