<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I've been playing around with the latest Ubuntu 10.04 LTS, EC2 32bits image from alestic.com,</div><div>and updating a custom image we have in house, originally based on Ubuntu 8.04 LTS.</div><div>10.04 is a great release by the way.</div><div><br></div><div>I believe I'm starting to get familiar with the upstart process but have a little question about customizing</div><div>runlevel for specific applications. My machine run on runlevel 4 by default, not sure why it does</div><div>not use runlevel 3 (maybe because it is a virtual instance), but this is irrelevant for my question.</div><div><br></div><div>I have installed mysql server on this machine, and by default as defined by the /etc/init/mysql.conf</div><div>the mysqld will start at runlevel 2,3,4 and 5, as ordered by the line</div><div><br></div><div>stop on runlevel [016]</div><div><br></div><div>However I don't want the mysqld to start automatically but just as a user operator asks for it. So the only </div><div>way I could find to get this behaviour was to change the above line to</div><div><br></div><div>stop on runlevel [0146]</div><div><br></div><div>Is there another way to do this in a more generic fashion? I'm unsure the old /etc/inittab could help here.</div><div>But even if it is does, I understand this is still there for backward compatibility. So I'd rather try to use the</div><div>next implemented solution if there.</div><div><br></div><div>Thanks for your help,</div><div><br></div><div>Abel<br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><div><span class="Apple-style-span" style="font-family: Courier; "><div><font class="Apple-style-span" color="#808080" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 13px; "><b style="color: rgb(128, 128, 128); font-family: Arial; font-size: 13.3px; font-weight: bold; ">__</b></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#808080" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 13px; "><b style="color: rgb(128, 128, 128); font-family: Arial; font-size: 13.3px; font-weight: bold; ">Abel Ureta-Vidal</b></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#808080" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 13px; "><b>Eagle Genomics Ltd |</b></span></font><span class="Apple-style-span" style="font-family: Arial; font-size: 13px; color: rgb(128, 128, 128); "> E: <a href="mailto:abel@eaglegenomics.com">abel@eaglegenomics.com</a></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#808080" face="Arial" size="3"><span class="Apple-style-span" style="font-size: 13px; "><a href="http://www.eaglegenomics.com/">http://www.eaglegenomics.com</a></span></font></div></span></div></div> </div><br></div></body></html>