xref: /illumos-gate/usr/src/cmd/sckmd/sckmd.xml (revision bbf21555)
125cf1a30Sjl<?xml version="1.0"?>
225cf1a30Sjl<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
325cf1a30Sjl<!--
4e3320f40Smarkfen Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
525cf1a30Sjl Use is subject to license terms.
625cf1a30Sjl
725cf1a30Sjl CDDL HEADER START
825cf1a30Sjl
925cf1a30Sjl The contents of this file are subject to the terms of the
1025cf1a30Sjl Common Development and Distribution License (the "License").
1125cf1a30Sjl You may not use this file except in compliance with the License.
1225cf1a30Sjl
1325cf1a30Sjl You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1425cf1a30Sjl or http://www.opensolaris.org/os/licensing.
1525cf1a30Sjl See the License for the specific language governing permissions
1625cf1a30Sjl and limitations under the License.
1725cf1a30Sjl
1825cf1a30Sjl When distributing Covered Code, include this CDDL HEADER in each
1925cf1a30Sjl file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2025cf1a30Sjl If applicable, add the following below this CDDL HEADER, with the
2125cf1a30Sjl fields enclosed by brackets "[]" replaced with your own identifying
2225cf1a30Sjl information: Portions Copyright [yyyy] [name of copyright owner]
2325cf1a30Sjl
2425cf1a30Sjl CDDL HEADER END
2525cf1a30Sjl
2625cf1a30Sjl	NOTE:  This service manifest is not editable; its contents will
2725cf1a30Sjl	be overwritten by package or patch operations, including
2825cf1a30Sjl	operating system upgrade.  Make customizations in a different
2925cf1a30Sjl	file.
3025cf1a30Sjl-->
3125cf1a30Sjl
3225cf1a30Sjl<service_bundle type='manifest' name='SUNWsckmu.u:sckmd'>
3325cf1a30Sjl
3425cf1a30Sjl<service name='platform/sun4u/sckmd' type='service' version='1'>
3525cf1a30Sjl
3625cf1a30Sjl	<create_default_instance enabled='false' />
3725cf1a30Sjl
3825cf1a30Sjl	<single_instance />
3925cf1a30Sjl
40e3320f40Smarkfen	<!-- Required as non-root local directories could be accessed -->
4125cf1a30Sjl	<dependency
42e3320f40Smarkfen	    name='local-filesystems'
43e3320f40Smarkfen	    type='service'
443e1dd242Sraghuram	    grouping='require_all'
45e3320f40Smarkfen	    restart_on='none'>
46e3320f40Smarkfen	        <service_fmri value='svc:/system/filesystem/local' />
4725cf1a30Sjl	</dependency>
4825cf1a30Sjl
4925cf1a30Sjl	<dependency
50e3320f40Smarkfen	    name='network'
5125cf1a30Sjl	    type='service'
5225cf1a30Sjl	    grouping='require_all'
5325cf1a30Sjl	    restart_on='none'>
54e3320f40Smarkfen		<service_fmri value='svc:/milestone/network' />
5525cf1a30Sjl	</dependency>
5625cf1a30Sjl
573e1dd242Sraghuram	<!-- Required for loading the cryptographic services -->
583e1dd242Sraghuram	<dependency name='cryptosvc'
593e1dd242Sraghuram		grouping='require_all'
603e1dd242Sraghuram		restart_on='none'
613e1dd242Sraghuram		type='service'>
623e1dd242Sraghuram		<service_fmri value='svc:/system/cryptosvc' />
633e1dd242Sraghuram	</dependency>
643e1dd242Sraghuram
65e3320f40Smarkfen	<!-- Required for loading the IPsec algorithms -->
66e3320f40Smarkfen	<dependency
67e3320f40Smarkfen	    name='ipsecalgs'
68e3320f40Smarkfen	    grouping='require_all'
69e3320f40Smarkfen	    restart_on='none'
70e3320f40Smarkfen	    type='service'>
71e3320f40Smarkfen		<service_fmri value='svc:/network/ipsec/ipsecalgs' />
72e3320f40Smarkfen	</dependency>
73e3320f40Smarkfen
7425cf1a30Sjl	<exec_method
7525cf1a30Sjl	    type='method'
7625cf1a30Sjl	    name='start'
7725cf1a30Sjl	    exec='/lib/svc/method/svc-sckmd'
7825cf1a30Sjl	    timeout_seconds='60' />
7925cf1a30Sjl
8025cf1a30Sjl	<exec_method
8125cf1a30Sjl	    type='method'
8225cf1a30Sjl	    name='stop'
8325cf1a30Sjl	    exec=':kill -9'
8425cf1a30Sjl	    timeout_seconds='60' />
8525cf1a30Sjl
8625cf1a30Sjl	<property_group name='application' type='framework'>
8725cf1a30Sjl		<propval name='auto_enable' type='boolean' value='true' />
8825cf1a30Sjl	</property_group>
8925cf1a30Sjl
9025cf1a30Sjl	<stability value='Evolving' />
9125cf1a30Sjl
9225cf1a30Sjl	<template>
9325cf1a30Sjl		<common_name>
9425cf1a30Sjl			<loctext xml:lang='C'>
9525cf1a30Sjl				key management daemon
9625cf1a30Sjl			</loctext>
9725cf1a30Sjl		</common_name>
9825cf1a30Sjl		<documentation>
99*bbf21555SRichard Lowe			<manpage title='sckmd' section='8'
10025cf1a30Sjl				manpath='/usr/share/man' />
10125cf1a30Sjl		</documentation>
10225cf1a30Sjl	</template>
10325cf1a30Sjl</service>
10425cf1a30Sjl
10525cf1a30Sjl</service_bundle>
106