Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

SMF Manifest for Mongrels on TXD Containers (See related posts)

An SMF manifest that works well on the TXD containers. More here, and also see the related Capistrano config

<?xml version='1.0'?>
DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='mongrel/example'>
  <service name='network/mongrel/example' type='service' version='0'>
    <create_default_instance enabled='true'/>
    <single_instance/>
    
    <dependency name='fs' grouping='require_all' restart_on='none' type='service'>
      <service_fmri value='svc:/system/filesystem/local'/>
    dependency>
    
      />
      
      'svc:/network/nfs/client'/>
    
    'mongrel_example' restart_on='none' grouping='optional_all'>
      'svc:/milestone/multi-user'/>
    
    
    'start' type='method' exec='/opt/csw/bin/mongrel_rails cluster::start' timeout_seconds='60'>
      '/home/example/rails/example.org/current'>
        'example' group='example' />
        
          
        
      
    

    'stop' type='method' exec=':kill' timeout_seconds='60'>
      
    

  


You need to create an account or log in to post comments to this site.


Related Posts