No service-specific tests
Posted Sep 1, 2006 7:28 UTC (Fri) by
smurf (subscriber, #17840)
In reply to:
upstart as cron replacement by kh
Parent article:
What's happening at Ubuntu: from X.org updates to upstart
The test upstart will do, using the mysql example, is not "can I connect to port 3306 and get a sensible reply", but "I have forked off /usr/sbin/mysqld and it hasn't died yet".
Testing for actual services isn't upstart's job; I agree that that makes no sense whatsoever.
NB: I don't know how upstart is going to decide that a service has finished starting up. I assume it'll be something along the lines of "the startup script has exited but some of its children are still running" by default, but I haven't checked.
(
Log in to post comments)