Question on sys v migrating to upstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux