Sha256: 1193da6d0727d5c1e96b0b215af3da1c151f06d9dd81e4d1fb2ff499ada7bba2

Contents?: true

Size: 1.84 KB

Versions: 108

Compression:

Stored size: 1.84 KB

Contents

<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='thin/<%= service_name %>-production'>
  <service name='network/thin/<%= service_name %>-production' type='service' version='0'>
    <!-- Dependancies for all Thin servers. -->
    <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'/>
      <!-- uncomment the following line if you are on an L+ Accelerator since /home is mounted through nfs -->
      <!--<service_fmri value='svc:/network/nfs/client'/>-->
    </dependency>
    <% 0.upto(thin_max_instances - 1) do |instance| %>
    <!-- instance names can't start with digits. Bummer. -->
    <instance name='i_<%= instance.to_s %>' enabled='false'>
      <!-- Cause the multi-user milestone to bring these services up -->
      <dependent name='<%= service_name %>_<%= instance.to_s %>_multi-user' restart_on='none' grouping='optional_all'>
        <service_fmri value='svc:/milestone/multi-user'/>
      </dependent>
      <exec_method name='start' type='method'
            exec='/opt/csw/bin/thin -C config/thin.yml --only <%= instance.to_s %> start'
            timeout_seconds='10'>
        <method_context working_directory='<%= working_directory %>'>
          <method_credential user='<%= user %>' group='<%= group %>' />
          <method_environment>
            <envvar name='PATH' value='/usr/bin:/bin:/opt/csw/bin' />
          </method_environment>
        </method_context>
      </exec_method>
      <exec_method name='stop' type='method' exec=':kill' timeout_seconds='10' />
    </instance>
    <% end %>
  </service>
</service_bundle>

Version data entries

108 entries across 107 versions & 12 rubygems

Version Path
thin-1.8.2 example/thin_solaris_smf.erb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/2.6.0/gems/thin-1.8.1/example/thin_solaris_smf.erb
devcycle-ruby-server-sdk-1.1.0 examples/sinatra/vendor/bundle/ruby/3.1.0/gems/thin-1.8.1/example/thin_solaris_smf.erb
thin-1.8.1 example/thin_solaris_smf.erb
thin-1.8.0 example/thin_solaris_smf.erb
gross-1.7.2 example/thin_solaris_smf.erb
thin-1.7.2 example/thin_solaris_smf.erb
thin-1.7.1 example/thin_solaris_smf.erb
arcabouco-0.2.13 vendor/bundle/gems/thin-1.7.0/example/thin_solaris_smf.erb
thin-1.7.0 example/thin_solaris_smf.erb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/thin-1.6.4/example/thin_solaris_smf.erb
classiccms-0.7.5 vendor/bundle/gems/thin-1.3.1/example/thin_solaris_smf.erb
classiccms-0.7.4 vendor/bundle/gems/thin-1.3.1/example/thin_solaris_smf.erb
classiccms-0.7.3 vendor/bundle/gems/thin-1.3.1/example/thin_solaris_smf.erb
thin-1.6.4 example/thin_solaris_smf.erb
thin-1.6.3 example/thin_solaris_smf.erb
grockit-thin-0.8.2 example/thin_solaris_smf.erb
macournoyer-thin-1.0.1 example/thin_solaris_smf.erb
macournoyer-thin-1.1.0 example/thin_solaris_smf.erb
michaelyta-thin-1.2.2 example/thin_solaris_smf.erb