I guess this might be more of a general SMF question, but here goes.<br><div class="gmail_quote"><br>When I run: "svccfg export svc:/network/cswmysql5"<br><br>I get:<br><br><?xml version='1.0'?><br>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<br><service_bundle type='manifest' name='export'><br> <service name='network/cswmysql5' type='service' version='0'><br> <create_default_instance enabled='true'/>
<br> <single_instance/><br> <dependency name='fs' grouping='require_all' restart_on='none' type='service'><br> <service_fmri value='svc:/system/filesystem/local'/>
<br> </dependency><br> <dependency name='net' grouping='require_all' restart_on='none' type='service'><br> <service_fmri value='svc:/network/loopback'/>
<br> </dependency><br> <dependent name='cswmysql5_multi-user' restart_on='none' grouping='optional_all'><br> <service_fmri value='svc:/milestone/multi-user'/><br>
</dependent><br> <exec_method name='start' type='method' exec='/opt/csw/lib/svc/method/svc-mysql5 start' timeout_seconds='18446744073709551615'><br> <method_context/>
<br> </exec_method><br> <exec_method name='stop' type='method' exec=':kill' timeout_seconds='18446744073709551615'><br> <method_context/><br> </exec_method>
<br> <exec_method name='restart' type='method' exec='/opt/csw/lib/svc/method/svc-mysql5 restart' timeout_seconds='18446744073709551615'><br> <method_context/><br> </exec_method>
<br> </service><br></service_bundle><br><br clear="all">Is this the full SMF manifest? If so how does SMF know how to restart mysql if I manually kill the process using "kill"? (It seems that the manifest doesn't indicate a restart.)
<br><br>This is probably just a hole in my understanding of SMF.<br><br>Cheers,<br>Brian<br><font color="#888888"><br>-- <br>- Brian Gupta<br><br><a href="http://opensolaris.org/os/project/nycosug/" target="_blank">http://opensolaris.org/os/project/nycosug/
</a>
</font></div><br><br clear="all"><br>-- <br>- Brian Gupta<br><br><a href="http://opensolaris.org/os/project/nycosug/">http://opensolaris.org/os/project/nycosug/</a>