FW: Upstart (0.6.5) not retaining configuration. CentOS 6.2 64 Bit.

Alpha Bit alphabit at outlook.com
Fri Mar 15 03:46:51 UTC 2013











Hello,

First and foremost let me apologize if I am spamming the wrong list. I also tried getting some help on the irc channel.

I have upstart 0.6.5 that CentOS ships with RHEL 6.2 64 bit. I have placed my custom .conf (say myJob.conf) file in /etc/init/ folder. After that I did a reboot and an initctl list, but I didn't see myJob in the list. I then did a initctl reload-configuration and an initctl list and I then see myJob in the list. I can also issue initclt start myJob with no issues and it works fine. The problem is after I reboot and an initctl list, myJob is again missing from the list. Its like I have to run reload-configuration on every reboot.
The permissions look correct (root owned, world readable).
I know reload-configuration is valid until the next reboot only, but how do I fix this issue? Upstart would ideally picks all the new .conf file on every reboot anyways, but just not in this case.

myJob.conf looks like below:
--------
start on startup
stop on runlevel[016]
respawn
doSomething
----------

Any help/pointer is very much appreciated.

Thanks.




 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20130314/bdff49f6/attachment-0001.html>


More information about the upstart-devel mailing list