Created
August 30, 2010 15:17
-
-
Save jfqd/557540 to your computer and use it in GitHub Desktop.
This file contains 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="memcached"> | |
<service name="application/database/memcached" type="service" version="1"> | |
<dependency name="network" grouping="require_all" restart_on="error" type="service"> | |
<service_fmri value="svc:/milestone/network:default"/> | |
</dependency> | |
<instance name="default" enabled="true"> | |
<method_context> | |
<method_credential user="webservd" group="webservd"/> | |
</method_context> | |
<exec_method type="method" name="start" exec="/usr/local/bin/memcached -d -u nobody" timeout_seconds="60"/> | |
<exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/> | |
<property_group name="startd" type="framework"> | |
<propval name="duration" type="astring" value="contract"/> | |
<propval name="ignore_error" type="astring" value="core,signal"/> | |
</property_group> | |
<property_group name="application" type="application"> | |
</property_group> | |
</instance> | |
<template> | |
<common_name> | |
<loctext xml:lang="C">memcached</loctext> | |
</common_name> | |
<documentation> | |
<doc_link name='memcached Official' uri='http://memcached.org/'/> | |
</documentation> | |
</template> | |
</service> | |
</service_bundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// SMF Manifest for Memcached on Nexenta NCP 3.0