Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added a Solaris/Illumos/SmartOS SMF manifest file

  • Loading branch information...
commit 74e5a02f5d7f4c50056fa3be244f4872504c6e3b 1 parent baa9102
Geoff Flarity authored
Showing with 59 additions and 0 deletions.
  1. +1 −0  misc/smf/README
  2. +58 −0 misc/smf/nervous.xml
View
1  misc/smf/README
@@ -0,0 +1 @@
+This is smf manifest for Illumos/SmartOS, install it with 'svccfg import nervous.xml'.
View
58 misc/smf/nervous.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!--
+ Created by Manifold
+--><service_bundle type="manifest" name="nervous">
+
+ <service name="application/nervous" type="service" version="1">
+
+ <create_default_instance enabled="true"/>
+
+ <single_instance/>
+
+ <dependency name="network" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/milestone/network:default"/>
+ </dependency>
+
+ <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
+ <service_fmri value="svc:/system/filesystem/local"/>
+ </dependency>
+
+
+
+
+
+
+ <method_context>
+
+ </method_context>
+
+ <exec_method type="method" name="start" exec="/opt/nervous/bin/nervous" 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="child"/>
+
+
+ <propval name="ignore_error" type="astring" value="core,signal"/>
+ </property_group>
+
+ <property_group name="application" type="application">
+ <propval name="config_file" type="astring" value="/opt/nervous/conf/nervous.json"/>
+ </property_group>
+
+
+ <stability value="Evolving"/>
+
+ <template>
+ <common_name>
+ <loctext xml:lang="C">
+ Nervous - a plug-in based monitoring system written in JavaScript (Node.js)
+ </loctext>
+ </common_name>
+ </template>
+
+ </service>
+
+</service_bundle>
Please sign in to comment.
Something went wrong with that request. Please try again.