51028156c9
we can run this in a Joyent-branded zone too.
16 lines
606 B
XML
16 lines
606 B
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
|
|
<service_bundle type='manifest' name='portal:default'>
|
|
<service name='spearhead/portal' type='service' version='1'>
|
|
<create_default_instance enabled='false' />
|
|
<single_instance />
|
|
|
|
<method_context>
|
|
<method_credential user='root' group='root' />
|
|
</method_context>
|
|
|
|
<exec_method name='start' type='method' exec='/opt/spearhead/portal/smf/run.sh' timeout_seconds='60'/>
|
|
<exec_method name='stop' type='method' exec=':kill' timeout_seconds='60'/>
|
|
</service>
|
|
</service_bundle>
|