[00:15] <marcosroriz> hi guys,
[00:16] <marcosroriz> I created a job here, how can I activate it?
[00:16] <ion> start jobname
[00:17] <marcosroriz> but its not working
[00:17] <marcosroriz> root@Onix:/etc/init# start tomcat
[00:17] <marcosroriz> start: Unknown job: tomcat
[00:17] <ion> You should find the error message in syslog.
[00:17] <ion> Upstart probably failed to parse /etc/init/tomcat.conf
[00:18] <marcosroriz> none error in syslog
[00:19] <marcosroriz> here is my conf
[00:19] <marcosroriz> http://paste.ubuntu.com/548690/
[00:20] <ion> pre-start stop doesn’t mean anything. You might want pre-stop script. Also, you’ll probably want ‘exec "$TOMCAT_HOME"/bin/startup.sh’ and ditto for shutdown.
[00:24] <marcosroriz> how do I make a stop/shutdown section?
[00:39] <marcosroriz> ion, :3
[00:45] <ion> pre-stop exec "$TOMCAT_HOME"/bin/shutdown.sh
[00:45] <ion> or
[00:45] <ion> pre-stop script
[00:45] <ion>   exec "$TOMCAT_HOME"/bin/shutdown.sh
[00:45] <ion> end script
[00:45] <marcosroriz> oh
[00:45] <marcosroriz> I tried that, but I keep getting stop: Unknown instance: 
[00:46] <ion> That probably means 0) starting it failed, or 1) startup.sh daemonized and exited, causing Upstart to think it stopped.
[00:46] <marcosroriz> ohh
[00:47] <marcosroriz> it's running ok (since I can browse tomcat page)
[00:47] <marcosroriz> probably option 1
[00:48] <ion> Upstart’s current fork-following code is still preliminary and a bit tricky to use. It should be easiest just to make it stay in the foreground.
[00:48] <marcosroriz> :) cool
[00:48] <marcosroriz> I hope I can help the project too
[00:49] <marcosroriz> is it on c?
[00:49] <ion> yes
[01:04] <marcosroriz> :3
[01:04] <marcosroriz> I'm not very good on C
[01:04] <marcosroriz> ='(
[20:42] <Jordan_U> I am currently having a problem where many processes are becoming defunct even though they are owned by init. Does this suggest a bug in init (upstart in this case)?
[21:24] <Jordan_U> I'd like to keep this machine running to be able to provide more debug information but it's getting more and more unuseable, and it's my main machine.