start process at boot time
ml.mildred593 at online.fr
Sun Oct 28 16:17:06 GMT 2007
Le Sun 28/10/2007 à 15:21 Wakan à écrit:
> so there is a job for each server, like apache or mysql...
> so how could I use the statement "start on started mysql"...
> mysql isn't a job for upstart....mysqld in started by rc script
> and ubuntu daemon startup script don't generate events for upstart....
You could add the command
initctl emit started mysqld
In the mysql shell script after mysqld is started, then the event is
generated and you can start your service when mysqld is started.
E-Mail: mildred593 at online.fr
XMPP: <mildred at jabber.fr> (GoogleTalk, Jabber)
GPG: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]
More information about the upstart-devel