start process at boot time

Wakan wakan at bigfoot.com
Sat Oct 27 14:50:03 BST 2007


I'm trying to start a server program using upstart job...
I copied tty1 job in a new job and modified the exec statement to call 
my program.
initctl list shows my job, but it's in (stop) waiting state...
why it can't start automatically?
If I start it manually, then the respawn options restarts it when it 
dies (I'm killing it)....
but it doesn't start automatically at boot time....
maybe (but I don't know...there no debugging informations where to 
search for malfunctioning causes) because this program depends on mysqld...
so maybe it needs to start after mysqld started...
I read around that I can use the mysql event to wake up my job...but
who tells mysqld to generate the event "mysql" after it's startup phase?
thanks in advance,
Carlo



More information about the upstart-devel mailing list