xref: /titanic_52/usr/src/cmd/avs/svc/manifest/nws_rdcsyncd.xml (revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4CDDL HEADER START
5
6The contents of this file are subject to the terms of the
7Common Development and Distribution License (the "License").
8You may not use this file except in compliance with the License.
9
10You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11or http://www.opensolaris.org/os/licensing.
12See the License for the specific language governing permissions
13and limitations under the License.
14
15When distributing Covered Code, include this CDDL HEADER in each
16file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17If applicable, add the following below this CDDL HEADER, with the
18fields enclosed by brackets "[]" replaced with your own identifying
19information: Portions Copyright [yyyy] [name of copyright owner]
20
21CDDL HEADER END
22
23	Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24	Use is subject to license terms.
25
26	Service manifest for Availability Suite init.
27-->
28
29<service_bundle type='manifest' name='SUNWscmr:nws_rdcsyncd'>
30
31<service
32	name='system/nws_rdcsyncd'
33	type='service'
34	version='1'>
35
36	<create_default_instance enabled='false' />
37
38	<single_instance />
39
40	<dependency
41         name='nws_rdcsyncd_rdc'
42         type='service'
43         grouping='require_all'
44         restart_on='none'>
45            <service_fmri value='svc:/system/nws_rdc' />
46      </dependency>
47
48	<!--
49	  This dependency is necessary to make sure that
50	  network/rpc/bind:default has started.  Since rpc/bind is Unstable,
51	  the dependency on it cannot be explicitly specified.
52	-->
53	<dependency
54	    name='nws_rdc_multi-user'
55	    type='service'
56	    grouping='require_all'
57	    restart_on='none'>
58	    <service_fmri value='svc:/milestone/multi-user' />
59	</dependency>
60
61	<exec_method
62	    type='method'
63	    name='start'
64	    exec='/lib/svc/method/svc-rdcsyncd %m'
65	    timeout_seconds='60' />
66
67	<exec_method
68	    type='method'
69	    name='stop'
70	    exec='/lib/svc/method/svc-rdcsyncd %m'
71	    timeout_seconds='20' />
72
73	<property_group
74	    name='startd'
75	    type='framework'>
76		<propval
77		    name='duration'
78		    type='astring'
79		    value='transient' />
80	</property_group>
81
82
83	<stability value='Unstable' />
84
85	<template>
86	    	<common_name>
87		    	<loctext xml:lang='C'>
88				Network Storage Remote Data Replication Syncd service.
89			</loctext>
90		</common_name>
91
92		<documentation>
93		    	<manpage
94			    title='sndrsyncd'
95			    section='1rdc'
96			    manpath='/usr/share/man' />
97		</documentation>
98	</template>
99</service>
100
101</service_bundle>
102