xref: /titanic_41/usr/src/cmd/cmd-crypto/scripts/cryptosvc.xml (revision 6ea3c0609e50782557505b88bb391b786bca32c9)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4f13a3029SJohn.Zolnowsky@Sun.COM Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
7*6ea3c060SGarrett D'Amore Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
8*6ea3c060SGarrett D'Amore
97c478bd9Sstevel@tonic-gate CDDL HEADER START
107c478bd9Sstevel@tonic-gate
117c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
12257873cfSJohn.Zolnowsky@Sun.COM Common Development and Distribution License (the "License").
13257873cfSJohn.Zolnowsky@Sun.COM You may not use this file except in compliance with the License.
147c478bd9Sstevel@tonic-gate
157c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
167c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
177c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
187c478bd9Sstevel@tonic-gate and limitations under the License.
197c478bd9Sstevel@tonic-gate
207c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
217c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
227c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
237c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
247c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate CDDL HEADER END
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents may
297c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
307c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
317c478bd9Sstevel@tonic-gate	file.
327c478bd9Sstevel@tonic-gate-->
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:kcfd'>
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service
377c478bd9Sstevel@tonic-gate	name='system/cryptosvc'
387c478bd9Sstevel@tonic-gate	type='service'
397c478bd9Sstevel@tonic-gate	version='1'>
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate	<single_instance />
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate	<dependency
447c478bd9Sstevel@tonic-gate	  name='fs'
457c478bd9Sstevel@tonic-gate	  grouping='require_all'
467c478bd9Sstevel@tonic-gate	  restart_on='none'
477c478bd9Sstevel@tonic-gate	  type='service'>
487c478bd9Sstevel@tonic-gate		<service_fmri
49f13a3029SJohn.Zolnowsky@Sun.COM			value='svc:/system/filesystem/root'/>
507c478bd9Sstevel@tonic-gate	</dependency>
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate	<dependent
537c478bd9Sstevel@tonic-gate	  name='cryptosvc_single'
547c478bd9Sstevel@tonic-gate	  grouping='optional_all'
557c478bd9Sstevel@tonic-gate	  restart_on='none'>
567c478bd9Sstevel@tonic-gate		<service_fmri
577c478bd9Sstevel@tonic-gate			value='svc:/milestone/single-user'/>
587c478bd9Sstevel@tonic-gate	</dependent>
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gate	<exec_method
617c478bd9Sstevel@tonic-gate		type='method'
627c478bd9Sstevel@tonic-gate		name='start'
63257873cfSJohn.Zolnowsky@Sun.COM		exec='/sbin/cryptoadm %m'
647c478bd9Sstevel@tonic-gate		timeout_seconds='60' />
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate	<exec_method
677c478bd9Sstevel@tonic-gate		type='method'
687c478bd9Sstevel@tonic-gate		name='stop'
69257873cfSJohn.Zolnowsky@Sun.COM		exec='/sbin/cryptoadm %m'
707c478bd9Sstevel@tonic-gate		timeout_seconds='60' />
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gate	<exec_method
737c478bd9Sstevel@tonic-gate		type='method'
747c478bd9Sstevel@tonic-gate		name='refresh'
75257873cfSJohn.Zolnowsky@Sun.COM		exec='/sbin/cryptoadm %m'
767c478bd9Sstevel@tonic-gate		timeout_seconds='60' />
777c478bd9Sstevel@tonic-gate
78*6ea3c060SGarrett D'Amore	<property_group name='startd' type='framework'>
79*6ea3c060SGarrett D'Amore		<propval name='duration' type='astring' value='transient' />
80*6ea3c060SGarrett D'Amore	</property_group>
81*6ea3c060SGarrett D'Amore
827c478bd9Sstevel@tonic-gate	<instance name='default' enabled='false' />
837c478bd9Sstevel@tonic-gate
847c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
857c478bd9Sstevel@tonic-gate
867c478bd9Sstevel@tonic-gate	<template>
877c478bd9Sstevel@tonic-gate		<common_name>
887c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
897c478bd9Sstevel@tonic-gate			cryptographic services
907c478bd9Sstevel@tonic-gate			</loctext>
917c478bd9Sstevel@tonic-gate		</common_name>
927c478bd9Sstevel@tonic-gate		<documentation>
937c478bd9Sstevel@tonic-gate			<manpage title='cryptoadm' section='1M'
947c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
957c478bd9Sstevel@tonic-gate		</documentation>
967c478bd9Sstevel@tonic-gate	</template>
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate</service>
997c478bd9Sstevel@tonic-gate
1007c478bd9Sstevel@tonic-gate</service_bundle>
101