summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-07-03 09:35:42 +0000
committerjperkin <jperkin@pkgsrc.org>2014-07-03 09:35:42 +0000
commit90b97ea4a12965bdd6bd378586be7da3bfdcd573 (patch)
tree36c85b0ccd6d8bfec1b6bc100d7352755924931a /security
parent0b00d4d0525824932354c07ff0dd7c6e246af307 (diff)
downloadpkgsrc-90b97ea4a12965bdd6bd378586be7da3bfdcd573.tar.gz
Add SMF manifest for stud.
Diffstat (limited to 'security')
-rw-r--r--security/stud/files/smf/manifest.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/stud/files/smf/manifest.xml b/security/stud/files/smf/manifest.xml
new file mode 100644
index 00000000000..57f8776c2ac
--- /dev/null
+++ b/security/stud/files/smf/manifest.xml
@@ -0,0 +1,29 @@
+<?xml version='1.0'?>
+<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
+<service_bundle type='manifest' name='@SMF_NAME@'>
+ <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
+ <create_default_instance enabled='false' />
+ <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>
+ <exec_method type='method' name='start' exec='@PREFIX@/bin/stud --config=%{config_file}' 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'>
+ <propval name='config_file' type='astring' value='@PKG_SYSCONFDIR@/stud.conf' />
+ </property_group>
+ <stability value='Evolving' />
+ <template>
+ <common_name>
+ <loctext xml:lang='C'>Scalable TLS Unwrapping Daemon</loctext>
+ </common_name>
+ </template>
+ </service>
+</service_bundle>