FAQ
Hi

I presently have a line in /etc/inittab (for 5.X based systems) like:
v1:2345:respawn:/home/silentm/bin/myfile

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 ?

Thanks,

Jerry

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedJan 24, '12 at 9:00a
activeJan 24, '12 at 9:00a
posts1
users1
websitecentos.org
irc#centos

1 user in discussion

Jerry Geis: 1 post

People

Translate

site design / logo © 2022 Grokbase