[CentOS] Question on sys v migrating to upstart
Jerry Geis
geisj at pagestation.comTue Jan 24 14:00:52 UTC 2012
- Previous message: [CentOS] sshd: listen on ip1:port1 and ip2:port2
- Next message: [CentOS] rsyslog-5.8.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] sshd: listen on ip1:port1 and ip2:port2
- Next message: [CentOS] rsyslog-5.8.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list