Home | History | Annotate | Download | only in dservd
      1 <?xml version="1.0"?>
      2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
      3 <!--
      4  CDDL HEADER START
      5 
      6  The contents of this file are subject to the terms of the
      7  Common Development and Distribution License (the "License").
      8  You may not use this file except in compliance with the License.
      9 
     10  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     11  or http://www.opensolaris.org/os/licensing.
     12  See the License for the specific language governing permissions
     13  and limitations under the License.
     14 
     15  When distributing Covered Code, include this CDDL HEADER in each
     16  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     17  If applicable, add the following below this CDDL HEADER, with the
     18  fields enclosed by brackets "[]" replaced with your own identifying
     19  information: Portions Copyright [yyyy] [name of copyright owner]
     20 
     21  CDDL HEADER END
     22 
     23  Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     24  Use is subject to license terms.
     25 
     26 	ident	"%Z%%M%	%I%	%E% SMI"
     27 
     28 	NOTE:  This service manifest is not editable; its contents will
     29 	be overwritten by package or patch operations, including
     30 	operating system upgrade.  Make customizations in a different
     31 	file.
     32 -->
     33 
     34 <service_bundle type='manifest' name='SUNWnfscr:dservd'>
     35 
     36 <service
     37 	name='network/dserv'
     38 	type='service'
     39 	version='1'>
     40 
     41 	<create_default_instance enabled='false' />
     42 
     43 	<dependency name='network'
     44 	    grouping='require_all'
     45 	    restart_on='restart'
     46 	    type='service'>
     47 		<service_fmri value='svc:/milestone/network' />
     48 	</dependency>
     49 
     50 	<dependency name='nfs-server'
     51 	    grouping='require_all'
     52 	    restart_on='restart'
     53 	    type='service'>
     54 		<service_fmri value='svc:/network/nfs/server' />
     55 	</dependency>
     56 
     57 	<dependency name='filesystem-minimal'
     58 	    grouping='require_all'
     59 	    restart_on='restart'
     60 	    type='service'>
     61 	    	<service_fmri value='svc:/system/filesystem/minimal' />
     62 	</dependency>
     63 
     64 	<exec_method
     65 	    type='method'
     66 	    name='start'
     67 	    exec='/usr/sbin/dservd'
     68 	    timeout_seconds='60' />
     69 
     70 	<exec_method
     71 	    type='method'
     72 	    name='stop'
     73 	    exec=':kill'
     74 	    timeout_seconds='60' />
     75 
     76 	<property_group name='storage' type='application' />
     77 
     78 	<stability value='Evolving' />
     79 
     80 	<template>
     81 		<common_name>
     82 			<loctext xml:lang='C'>
     83 				dservd: pNFS data server
     84 			</loctext>
     85 		</common_name>
     86 		<documentation>
     87 			<manpage title='dservd' section='1M'
     88 				manpath='/usr/share/man' />
     89 		</documentation>
     90 	</template>
     91 </service>
     92 
     93 </service_bundle>
     94