Add initial SMF manifest. More tweaks are necessary...

git-svn-id: https://svn.alkaloid.net/gpl/ldap2dns/trunk@392 06cd67b6-e706-0410-b29e-9de616bca6e9
This commit is contained in:
Ben Klang
2006-12-25 08:44:30 +00:00
parent 1677f460fc
commit 7578decc01
2 changed files with 60 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
# $Id$ # $Id$
Version 0.4.2-beta (latest) Version 0.4.2-beta (latest)
* Add SMF manifest
* Add manpage * Add manpage
* Ensure all options get initialized to defaults before any attempts at setting * Ensure all options get initialized to defaults before any attempts at setting
them via configuration, environment, or cmdline args. them via configuration, environment, or cmdline args.

59
ldap2dns.xml Normal file
View File

@@ -0,0 +1,59 @@
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
ident "@(#)server.xml 1.3 04/12/03 SMI"
-->
<service_bundle type='manifest' name='ALKAldap2dns:ldap2dns'>
<service
name='application/management/ldap2dns'
type='service'
version='1'>
<exec_method
type='method'
name='stop'
exec=':kill'
timeout_seconds='60' />
<instance name='default' enabled='false' >
<exec_method
type='method'
name='start'
exec='/usr/bin/ldap2dns'
timeout_seconds='60' >
<method_context>
<method_environment>
<envvar name='LDAP2DNS_DAEMONIZE' value='1' />
<envvar name='LDAP2DNS_UPDATE' value='60' />
<envvar name='LDAP2DNS_OUTPUT' value='data' />
</method_environment>
</method_context>
</exec_method>
<property_group name='startd' type='framework'>
<propval name='duration' type='astring' value='child' />
</property_group>
</instance>
<stability value='Unstable' />
<template>
<common_name>
<loctext xml:lang='C'>
LDAP to DNS manager
</loctext>
</common_name>
<documentation>
<manpage title='ldap2dns' section='1'
manpath='/usr/man' />
</documentation>
</template>
</service>
</service_bundle>