Skip to end of metadata
Go to start of metadata

Recipes for running servers with SMF.

In this topic:

Using Manifold to Create Manifests

Joyent uses a command line tool called Manifold that makes creating the XML easy

You can install Manifold on your Smartmachien with

Then use this tool to create the SMF services you need

More information about this tool can be found at:

http://code.google.com/p/manifold/

mongrel_cluster

This SMF profile is for running Rails apps with mongrel_cluster. It allows you to create an instance for each different Rails app you are running.

Make a copy of the instance tags for each mongrel_cluster app and fill in the details (replace INSTANCE_NAME, /PATH/TO/RAILS/APP, USERNAME, and GROUP).

Start the mongrel cluster instance with

Recipe

CouchDB

This recipe assumes that you have [installed CouchDB] and are running it with the couchdb user/group.

This manifest is for CouchDB 0.7.3/0.8.0 and assumes that you have ICU installed in /opt/local and SpiderMonkey installed in /opt/local/spidermonkey. Change the LD_LIBRARY_PATH envar name to suit your configuration.

Recipe

Nginx

Recipe
At a Glance

Tips and Tricks for SMF

A great resource for SMF is Ben Rockwood's SMF CheatSheet.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.