Created
March 18, 2010 13:18
-
-
Save toto/336333 to your computer and use it in GitHub Desktop.
SMF Manifest for Sphinx on OpenSolaris
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | |
<service_bundle type="manifest" name="sphinx"> | |
<service name="network/sphinx" type="service" version="0"> | |
<dependency name="fs" grouping="require_all" restart_on="none" type="service"> | |
<service_fmri value="svc:/system/filesystem/local"/> | |
</dependency> | |
<dependency name="net" grouping="require_all" restart_on="none" type="service"> | |
<service_fmri value="svc:/network/loopback"/> | |
</dependency> | |
<dependent name="sphinx_multi-user" restart_on="none" grouping="optional_all"> | |
<service_fmri value="svc:/milestone/multi-user"/> | |
</dependent> | |
<instance name="gat" enabled="false"> | |
<method_context working_directory="/export/home/gat/app/current"> | |
<method_credential user="gat" group="gat"/> | |
<method_environment> | |
<envvar name="HOME" value="/export/home/gat"/> | |
<envvar name="RAILS_ENV" value="production"/> | |
<envvar name="PATH" value="/usr/bin:/bin:/opt/csw/bin:/usr/local/bin:/usr/local/sbin"/> | |
<envvar name="LD_LIBRARY_PATH" value="/usr/mysql/lib/mysql/"/> | |
</method_environment> | |
</method_context> | |
<exec_method name="start" type="method" exec="/var/ruby/1.8/gem_home/bin/rake ts:start" timeout_seconds="60"></exec_method> | |
<exec_method name="stop" type="method" exec="/var/ruby/1.8/gem_home/bin/rake ts:stop" timeout_seconds="60" ></exec_method> | |
<property_group name='general' type='framework'> | |
<propval name='action_authorization' type='astring' | |
value='solaris.smf.manage.sphinx/gat' /> | |
<propval name='value_authorization' type='astring' | |
value='solaris.smf.manage.sphinx/gat' /> | |
</property_group> | |
</instance> | |
</service> | |
</service_bundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment